Basic Solver Selection ode45 performs well with most ODE problems and should generally be your first choice of solver. However, ode23, ode78, ode89 and ode113 can be more efficient than ode45 for problems with looser or tighter accuracy requirements. Some ODE problems exhibit stiffness, or difficulty in evaluation. Stiffness is a term that defies a precise definition, but in general, stiffness ...
The most frequently used ODE solver in MATLAB and Simulink is ODE45. It is based on method published by British mathematicians JR Dormand and PJ Prince in 1980.
Choose an ODE Solver ODE background information, solver descriptions, algorithms, and example summary. Summary of ODE Options Usage of odeset and table indicating which options work with each ODE solver. ODE Event Location Detect events during solution of ODE. Solve Nonstiff ODEs This page contains two examples of solving nonstiff ordinary differential equations using ode45. Solve Stiff ODEs ...
Solve Nonstiff ODEs This page contains two examples of solving nonstiff ordinary differential equations using ode45. MATLAB® has several solvers for nonstiff ODEs.
This topic shows how to specify options for solver functions (ode45, ode15s, and so on), and which differential equation solvers each option is compatible with. Options Syntax Use the odeset function to create an options structure that you then pass to the solver as the fourth input argument.
This example shows you how to convert a second-order differential equation into a system of differential equations that can be solved using the numerical solver ode45 of MATLAB®.