Asked by Yu
on 15 Feb 2013

I know how to use ode45 to solve 1 ode, but now I have 2, I don't know what to do. Should I do it on one ode45 function or I should separate them?

*No products are associated with this question.*

Answer by Shashank Prasanna
on 15 Feb 2013

If you have a Higher Order ODE then you may have to break that down into several 1st order ODEs as shown here:

http://www.mathworks.com/help/matlab/math/ordinary-differential-equations.html#brfg9jq-1

Scroll down for some specific examples on how this is done.

Opportunities for recent engineering grads.

## 1 Comment

## RahulTandon (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/63609#comment_296381

If you could send me the two ODEs, I would solve the problem. That is the best way of answering your above question.