Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

iirlinphase

Quasi-linear phase IIR filter from halfband filter specification

Syntax

hd = design(d,'iirlinphase')
hd = design(...,'filterstructure',structure)

Description

hd = design(d,'iirlinphase') designs a quasi-linear phase filter hd specified by the filter specification object d.

hd = design(...,'filterstructure',structure) returns a filter with the structure specified by structure. By default, the filter structure is a cascade structure. The following table lists all the structures design supports for the IIR linear phase response.

Structure

Filter Structure

cascadeallpass

Cascade of allpass filters

cascadewdfallpass

Cascade of allpass wave digital filters

iirdecim

IIR polyphase decimator

iirwdfdecim

IIR wave digital filter polyphase decimator

iirinterp

IIR polyphase interpolator

iirwdfinterp

IIR wave digital filter polyphase interpolator

To get a list of all the structures the specific fdesign method supports, type the following in the MATLAB® command prompt.

d = fdesign.halfband;
strucs = validstructures(d);

To get a list of structures iirlinphase supports, type the following in the MATLAB command prompt.

iirlinphaseStrucs = strucs.iirlinphase;

Examples

Design a quasi-linear phase, minimum-order halfband IIR filter with transition width of 0.36 and stopband attenuation of at least 80 dB.

tw = 0.36;
ast = 80;
d = fdesign.halfband('tw,ast',tw,ast); % Transition width, 
                                    % stopband attenuation.
hd = design(d,'iirlinphase');
fvtool(hd)

Notice the characteristic halfband nature of the ripple in the stopband. If you measure the resulting filter, you see it meets the specifications.

measure(hd)     

Introduced in R2011a

Was this topic helpful?