DSP Blockset    

Designing Discrete-Time Special IIR and FIR Filters

The Remez FIR Filter Design, Yule-Walker IIR Filter Design, and Least Squares FIR Filter Design blocks design and implement IIR or FIR filters with arbitrary magnitude responses, including multiband responses.

The Yule-Walker IIR Filter Design block designs recursive IIR digital filters by fitting a specified frequency response based on arbitrary piecewise linear magnitude responses. For more on the Yule-Walker algorithm, see the description of the yulewalk function in the Signal Processing Toolbox.

The Remez FIR Filter Design and Least Squares FIR Filter Design blocks design FIR filters using the Parks-McClellan and least-squares techniques, respectively. These techniques reflect two error minimization schemes that provide optimal fits to a desired frequency response, each using a different definition of "optimal fit":

For more on the Parks-McClellan and least squares design techniques, see the descriptions of the remez and firls functions in the Signal Processing Toolbox.

The following four sections provide more information about the parameters provided by these blocks:

The final section, Example: Least Squares Multiband Filter, provides an example that uses the Least Squares FIR Filter Design block.


 Designing Continuous-Time Classical IIR Filters Frequency and Magnitude Parameter Overview