1
.TH imrep2ss 4 "April 1993" "Scilab Group" "Scilab Function"
4
imrep2ss - state-space realization of an impulse response
7
[sl]=imrep2ss(v [,deg])
12
: vector coefficients of impulse response, \fVv(:,k)\fR is the kth sample
15
: integer (order required)
20
Impulse response to linear system conversion (one input).
21
\fVv\fR must have an even number of columns.
25
H=[1/(s+0.5);2/(s-0.4)] //strictly proper
26
np=20;w=ldiv(H('num'),H('den'),np);
27
rep=[w(1:np)';w(np+1:2*np)']; //The impulse response
28
H1=ss2tf(imrep2ss(rep))
30
H=(2*z^2-3.4*z+1.5)/(z^2-1.6*z+0.8) //Proper transfer function
32
rep=rtitr(H('num'),H('den'),u); //Impulse rep.
33
// <=> rep=ldiv(H('num'),H('den'),20)
34
w=z*imrep2ss(rep) //Realization with shifted impulse response
35
// i.e strictly proper to proper
39
frep2tf, arl2, time_id, armax, markp2ss, ldiv