Scilab 5.3.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
ode_discrete
ordinary differential equation solver, discrete time simulation
Calling Sequence
y=ode("discrete",y0,k0,kvect,f)
Arguments
- y0
real vector or matrix (initial conditions).
- t0
real scalar (initial time).
- f
external i.e. function or character string or list.
- k0
integer (initial time).
- kvect
integer vector.
Description
With this syntax (first argument equal to
"discrete"
) ode
computes recursively
y(k+1)=f(k,y(k))
from an initial state
y(k0)
and returns y(k)
for
k
in kvect
.
kvect(1)
must be greater than or equal to
k0
.
Other arguments and other options are the same as for
ode
, see the ode help.
Examples
See Also
<< intl | Equations Differentielles | ode_optional_output >> |