h =
freqs (b, a, w)
¶(b, a, w)
¶Compute the s-plane frequency response of the IIR filter B(s)/A(s) as H = polyval(B,j*W)./polyval(A,j*W). If called with no output argument, a plot of magnitude and phase are displayed.
Example:
b = [1 2]; a = [1 1]; w = linspace (0, 4, 128); freqs (b, a, w);
The following code
B = [1 2]; A = [1 1]; w = linspace(0,4,128); freqs(B,A,w);
Produces the following figure
Figure 1 |
---|
Package: signal