dsimul — state space discrete time simulation
y=dsimul(sl,u)
syslin
list describing a discrete time linear system
real matrix of appropriate dimension
output of sl
Utility function.
If [A,B,C,D]=abcd(sl)
and x0=sl('X0')
, dsimul
returns y=C*ltitr(A,B,u,x0)+D*u
i.e.
the time response of sl
to the input u
.
sl
is assumed to be in state space form (syslin
list).