How to edit a Program in Matlab??

Status
Not open for further replies.
Can you send me your code?
coz i can't imagine what do u wanna make
 


Code:
function xdot = func(t,sinx);
 xdot = sinx;

changed to
Code:
function xdot = func(t,x);
xdot = sin(x);
 

hi blooz,

the function xdot = func(t,x) line giving error with a red line below function and x.

i really don't see any syntax error in it, plz see if there is any in it.


regards,
rc
 

could you post the Differential Equation ,

it will be easier to solve if you can state the equation
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…