Mathematics |
DDE Solver
dde23
The DDE Solver
The function dde23
solves initial value problems for delay differential equations (DDEs) with constant delays. It integrates a system of first-order differential equations
on the interval , with and given history for .
dde23
produces a solution that is continuous on . You can use the function deval
and the output of dde23
to evaluate the solution at specific points on the interval of integration.
dde23
tracks discontinuities and integrates the differential equations with the explicit Runge-Kutta (2,3) pair and interpolant used by ode23
. The Runge-Kutta formulas are implicit for step sizes longer than the delays. When the solution is smooth enough that steps this big are justified, the implicit formulas are evaluated by a predictor-corrector iteration.
DDE Solver Basic Syntax
The basic syntax of the DDE solver is
The output argument sol
is a structure created by the solver. It has fields:
sol.x |
Nodes of the mesh selected by dde23 |
sol.y |
Approximation to at the mesh points of sol.x |
sol.yp |
Approximation to at the mesh points of sol.x |
sol.solver |
'dde23' |
To evaluate the numerical solution at any point from [t0,tf]
, use deval
with the output structure sol
as its input.
Additional DDE Solver Arguments
For more advanced applications, you can also specify as input arguments solver options and additional parameters.
|
Structure of optional parameters that change the default integration properties. This is the fifth input argument. Creating and Maintaining a DDE Options Structure tells you how to create the structure and describes the properties you can specify. |
p1,p2... |
Parameters that the solver passes to ddefun and the history function, and all functions specified in options .The solver passes any input parameters that follow the options argument to the functions every time it calls them. Use options = [] as a placeholder if you set no options. In the ddefun argument list, parameters follow the other arguments. |
Introduction to Initial Value DDE Problems | Solving DDE Problems |