MATLAB Answers

Yu

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

RahulTandon
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.

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


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today