Skip to content

dde23

ode · scripts/ode/dde23.m

: sol = dde23 (ddefun, lags, history, tspan)
: sol = dde23 (ddefun, lags, history, tspan, options)

Solve delay differential equations with constant delays (MATLAB dde23).

Integrates y' = ddefun (t, y, Z) on tspan = [t0 tf], where column Z(:,j) approximates y(t - lags(j)) and lags is a vector of positive constant delays. history is a constant vector, a function handle returning a column for scalar t, or a previous dde23 solution structure.

The integrator uses the explicit Runge-Kutta (2,3) pair of ode23 with the method of steps (segment length at most min (lags)), matching MATLAB R2026a signatures, sol fields and defaults for the constant-lag subset.