Nonstiff Deterministic Solvers
When to Use Nonstiff Deterministic Solvers
If you have models with either all fast or all slow changing
variables, these may not be numerically stiff; nonstiff deterministic
solvers are appropriate to try.
Back to Top
ode45 (Dormand-Prince)
Based on an explicit Runge-Kutta (4,5) formula: the Dormand-Prince
pair, ode45 is a one-step solver in computing
. It needs only the solution
at the immediately preceding time point
. In general, ode45 is the best
function to apply as a "first try" for most problems.
Back to Top
ode23 (Bogacki-Shampine)
Based on an explicit Runge-Kutta (2,3) pair of Bogacki and Shampine,
ode23 may be more efficient than ode45 at crude tolerances and in
the presence of mild stiffness. Like ode45, ode23 is a one-step solver.
Back to Top
ode113 (Adams)
A variable order Adams-Bashforth-Moulton PECE solver, ode113
may be more efficient than ode45 at stringent tolerances and when
the ODE function is particularly expensive to evaluate. ode113 is
a multistep solver; it normally needs the solutions at several preceding
time points to compute the current solution.
Back to Top
See Also
ODEs in MATLAB Mathematics.
Back to Top
 | About Simulation Solvers | | Stiff Deterministic Solvers |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit