1
dscr Scilab Group Scilab Function dscr
3
dsimul - state space discrete time simulation
8
sl : syslin list describing a discrete time linear system
10
u : real matrix of appropriate dimension
15
Utility function. If [A,B,C,D]=abcd(sl) and x0=sl('X0'), dsimul returns
16
y=C*ltitr(A,B,u,x0)+D*u i.e. the time response of sl to the input u. sl
17
is assumed to be in state space form (syslin list).
21
h=(1-2*z)/(z^2-0.2*z+1);
24
x1=dsimul(sl,u) //Impulse response
26
x2=dsimul(sl,u); //Step response