1
.TH FREQ G "April 1993" "Scilab Group" "Scilab Function"
4
freq - frequency response
13
: real matrices of respective dimensions \fVnxn, nxp, mxn, mxp\fR.
16
: polynomial matrices of dimension \fVmxp\fR
19
: real or complex matrix
21
\fVx=freq(A,B,C [,D],f)\fR returns a real or complex \fVmxp*t\fR matrix
24
\fVx(:,k*p:(k+1)*p)= C*inv(f(k)*eye()-A)*B + D\fR.
26
Thus, for \fVf\fR taking values along the imaginary axis or
27
on the unit circle \fVx\fR is the continuous or discrete time
28
frequency response of \fV(A,B,C,D)\fR.
31
\fVx=freq(NUM,DEN,f)\fR returns a real or complex matrix \fVx\fR such
32
that columns \fVk*(p-1)+1\fR to \fVk*p\fR of \fVx\fR contain the matrix
33
\fVNUM(f(k))./DEN(f(k))\fR
38
rep=freq(sys("num"),sys("den"),[0,0.9,1.1,2,3,10,20])
39
[horner(sys,0),horner(sys,20)]
43
freq(A,B,C,[0,0.9,1.1,2,3,10,20])