Community Profile

photo

Sai Manohari


West Virginia University

Active since 2014

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


I need help in figurig out what wrong in [x,y]=ode45( @firstode, x, y0);from my code?
function sec_order_ode y0=[0 0]; x=0:0.01:2; [x,y]=ode45( @firstode, x, y0); subplot(2,1,1) plot(x,y(:,1)) s...

8 years ago | 1 answer | 0

1

answer

Question


ux=@(x) ux1-((x/l)*(3ux1+ux2-4ux3))+((x^2/l^2)*(2*(ux1+ux2-ux3))); ux=@(x) ux1-((x/l)*(3ux1+ux2-4ux3))+((x^2/l^2)*(2*(ux1+ux2-ux3))); | Error: Unexpected MATLAB expression.
For the above expression its says unexpected matlab expression will anyone see this and correct my equation?

9 years ago | 1 answer | 0

1

answer