Signal Processing Toolbox Help Desk

yulewalk

Purpose

Recursive digital filter design.

Syntax

Description

yulewalk designs recursive IIR digital filters using a least-squares fit to a specified frequency response.

[b,a] = yulewalk(n,f,m) returns row vectors b and a containing the n+1 coefficients of the order n IIR filter whose frequency-magnitude characteristics approximately match those given in vectors f and m:

The output filter coefficients are ordered in descending powers of z,

When specifying the frequency response, avoid excessively sharp transitions from passband to stopband. You may need to experiment with the slope of the transition region to get the best filter design.

Example

Design an 8th-order lowpass filter and overplot the desired frequency response with the actual frequency response:

Algorithm

yulewalk performs a least-squares fit in the time domain. It computes the denominator coefficients using modified Yule-Walker equations, with correlation coefficients computed by inverse Fourier transformation of the specified frequency response. To compute the numerator, yulewalk takes the following steps:

  1. Computes a numerator polynomial corresponding to an additive decomposition of the power frequency response.
  2. Evaluates the complete frequency response corresponding to the numerator and denominator polynomials.
  3. Uses a spectral factorization technique to obtain the impulse response of the filter.
  4. Obtains the numerator polynomial by a least-squares fit to this impulse response.

See Also

butter

Butterworth analog and digital filter design.

cheby1

Chebyshev type I filter design (passband ripple).

cheby2

Chebyshev type II filter design (stopband ripple).

ellip

Elliptic (Cauer) filter design.

fir2

Window-based finite impulse response filter design-- arbitrary response.

firls

Least square linear-phase FIR filter design.

maxflat

Generalized digital Butterworth filter design.

remez

Parks-McClellan optimal FIR filter design.

References

[1] Friedlander, B., and B. Porat. "The Modified Yule-Walker Method of ARMA Spectral Estimation." IEEE Transactions on Aerospace Electronic Systems. AES-20, No. 2 (March 1984). Pgs. 158-173.



[ Previous | Help Desk | Next ]