Owning Class: filter design
Requires: MathScript RT Module
[x, y] = iir_yulewalker(n, f, a)
Legacy Name: yulewalk
Uses the modified Yule-Walker method to create an IIR filter.
| Name | Description |
|---|---|
| n | Specifies the filter order. |
| f | Specifies a vector of frequency points. f is a real vector of non-descending values in the interval [0, 1]. 1 represents the Nyquist frequency. |
| a | Specifies the magnitudes of the filter at the frequency points in f. length(a) must equal length(f). |
| Name | Description |
|---|---|
| x | Returns the forward coefficients of the IIR filter. The length of x equals n + 1. |
| y | Returns the backward coefficients of the IIR filter. The length of y equals n + 1. |
f0 = [0, 0.2, 0.4, 1];
a0 = [1, 1, 0, 0];
[x0, y0] = iir_yulewalker(8, f0, a0);
f1 = [0, 0.1, 0.1, 0.9, 0.9, 1];
a1 = [0, 0, 1, 1, 0, 0];
[x1, y1] = iir_yulewalker(11, f1, a1);