freqs
Compute analog filter frequency response values.
Syntax
h = freqs(b,a,w)
[h,w] = freqs(...)
Inputs
- b
- The numerator polynomial coefficients of the filter.
- a
- The denominator polynomial coefficients of the filter.
- w
- The frequencies (in radians/sec) at which the response is computed.
Outputs
- h
- The frequency response values.
- w
- The frequencies (in radians/sec) at which the response is computed.
Example
b = [0.0, 0.0, 0.0, 0.0, 8.10000e+09];
a = [1.0, 7.83938e+02, 3.07279e+05, 7.05544e+07, 8.10000e+09];
h = freqs(b,a,300);
abs(h)
ans = 0.70711