1
FREQ Scilab Group Scilab Function FREQ
3
freq - frequency response
9
A, B, C, D : real matrices of respective dimensions nxn, nxp, mxn,
12
NUM,DEN : polynomial matrices of dimension mxp
14
x : real or complex matrix
17
x=freq(A,B,C [,D],f) returns a real or complex mxp*t matrix such that:
19
x(:,k*p:(k+1)*p)= C*inv(f(k)*eye()-A)*B + D.
21
Thus, for f taking values along the imaginary axis or on the unit circle
22
x is the continuous or discrete time frequency response of (A,B,C,D).
24
x=freq(NUM,DEN,f) returns a real or complex matrix x such that columns
25
k*(p-1)+1 to k*p of x contain the matrix NUM(f(k))./DEN(f(k))
30
rep=freq(sys("num"),sys("den"),[0,0.9,1.1,2,3,10,20])
31
[horner(sys,0),horner(sys,20)]
35
freq(A,B,C,[0,0.9,1.1,2,3,10,20])