Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

How to solve 2 ODEs by using ODE 45

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?

0 Comments

Yu

Tags

Products

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:

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

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

0 Comments

Shashank Prasanna

Contact us