ode23
- :
[t, y] =ode23(fcn, tspan, y0)¶ - :
[t, y] =ode23(fcn, tspan, y0, opts)¶ - :
[t, y, te, ye, ie] =ode23(…)¶ - :
sol =ode23(…)¶ Solve the initial value problem
y' = fcn (t, y),y(tspan(1)) = y0with an adaptive third-order Bogacki-Shampine Runge-Kutta pair. It is cheaper per step thanode45and suited to crude tolerances and mildly stiff problems.Arguments, options and outputs are as for
ode45; the defaultRefineis 1, so one point is returned per step.