Integrator

Syntax


x = integ(xd, xic)

Description


Returns a value determined by the numerical integration of the derivative contained in the input argument xd, with an initial condition specified by the value of xic (which may be a literal value, constant, or algebraic variable).


Note that the integ statement may only be used in the derivative section.

Example


y = integ(yd, 0.0)