Does Matlab have its own RK4 package?
Show older comments
Does Matlab have its own Runge Kutta package or must I write my own? I am looking for an algorithm for n equations.
Answers (1)
Star Strider
on 16 Oct 2015
0 votes
MATLAB has a powerful set of built-in ODE and related differential equation solvers (and partial differential equation solvers in the Partial Differential Equation Toolbox). See the documentation for ode45 and its friends for details. There might be others in the File Exchange.
4 Comments
jake smith
on 16 Oct 2015
Star Strider
on 16 Oct 2015
The ‘ode45’ in my original Answer is a hyperlink to the documentation for it. You should be able to access it and look through it. It has a relatively complete description of its use. If you have a particular ODE you want to integrate, post the code for your ODE function and I can help you code the integration.
jake smith
on 16 Oct 2015
Edited: jake smith
on 16 Oct 2015
Walter Roberson
on 16 Oct 2015
There is no download link for the documentation; that is the link to the documentation for ode45.
Categories
Find more on Runge Kutta Methods 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!