Skip to content

ode15i

ode · scripts/ode/ode15i.m

: [t, y] = ode15i (fcn, tspan, y0, yp0)
: [t, y] = ode15i (fcn, tspan, y0, yp0, opts)
: [t, y, te, ye, ie] = ode15i (…)
: sol = ode15i (…)

Solve the fully implicit system fcn (t, y, yp) = 0 (differential algebraic equations of index one are allowed) with variable-step, variable-order backward differentiation formulas.

y0 and yp0 must be consistent initial values, i.e. fcn (tspan(1), y0, yp0) is zero; decic computes such values. fcn returns the residual column vector. The options RelTol, AbsTol, MaxStep, InitialStep, MaxOrder, Refine, Events, OutputFcn, OutputSel, Stats, NonNegative and Jacobian (a function returning [dfdy, dfdyp] or a cell array {dfdy, dfdyp}) are used. The Mass option is not supported. Outputs are as for ode45; the solution structure additionally holds idata.kvec, the order used on each step.