system of two non linear second order equations
Show older comments

Hi im having a problem for solving this set of equation and
i'm not that familiar with the ODE45 function in Matlab.
i would be glad if someone can help me with the following set of equations.
Thanks ,
Chen
4 Comments
Zoltán Csáti
on 4 Jan 2015
Write the two second order ODEs as four first order one.
chen
on 4 Jan 2015
Torsten
on 5 Jan 2015
I get
xprime=[x(2); k*(1-x(2)^2)/(1+k*x(1)); x(4) ; -(k*x(2)*x(4))/(1+k*x(1))];
for your system where x(1)=y, x(2)=y', x(3)=z, x(4)=z'.
Best wishes
Torsten.
Answers (0)
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!