MATLAB Implicit differentiation in matlab

  • Thread starter oby7842
  • Start date
I have a implicit differential equation Re(u*ux-u^2)=0 ( It was larger equation but i simplified it here). I wrote down my function in m.file as follows:

function Z=fun_imp(x,u,ux);
Re=25;
Z=0;
Z=Re*(u*ux-2*u);

Before going to solving differential equation to find out consistent initial value i write following prog:

clc;
clear;
x0=0;
u0=-1.095;
ux0=0;

[u0,ux0]=decic('fun_imp',x0,u0,1,ux0,0);



but I am geting following error:


??? Error using ==> initial
Not enough input arguments.

I will appreciate if anyone ans my question.

regards,
Omar
 

Want to reply to this thread?

"Implicit differentiation in matlab" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top