MATLAB Answers


How to solve 2 ODEs by using ODE 45

Asked by Yu
on 15 Feb 2013
Latest activity Commented on by RahulTandon
on 5 Jul 2015

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?

  1 Comment

on 5 Jul 2015

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



No products are associated with this question.

1 Answer

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:

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


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!