Main Content

Filter Design

FIR, IIR

You can design and analyze a variety of digital FIR and IIR filters using DSP System Toolbox™ functions and apps. Some of these filters include advanced filters such as Nyquist filters, halfband filters, advanced equiripple filters, and quasi-linear phase IIR filters.

Apps

Filter Builder 从频率和magnitu设计过滤器de specifications (filterBuilder)

Functions

expand all

filterDesigner Open Filter Designer app
filterBuilder Interactive filter design
fvtool Visualize frequency response of DSP filters
butter Butterworth IIR digital filter design
cheby1 Chebyshev Type I filter using specification object
cheby2 Chebyshev Type II filter using specification object
design Apply design method to filter specification object
designmethods Methods available for designing filter from specification object
designoptions Show all options available for specified design
designopts Valid input arguments and values for specification object and method
ellip Elliptic filter using specification object
equiripple Equiripple single-rate FIR filter from specification object
freqsamp Real or complex frequency-sampled FIR filter from specification object
help Help for design method with filter specification
setspecs Specifications for filter specification object
validstructures Structures for specification object with design method
fdesign Filter design specification object
fdesign.bandpass Bandpass filter design specification object
fdesign.bandstop Bandstop filter design specification object
fdesign.highpass Highpass filter specification object
fdesign.lowpass Lowpass filter specification
fdesign.decimator Decimator filter specification object
fdesign.interpolator Interpolator filter specification
fdesign.rsrc Rational-factor sample-rate converter specification
fdesign.arbmag Arbitrary response magnitude filter specification object
fdesign.arbmagnphase Arbitrary response magnitude and phase filter specification object
fdesign.ciccomp CIC compensator filter specification object
fdesign.comb IIR comb filter specification object
fdesign.differentiator Differentiator filter specification object
fdesign.fracdelay Fractional delay filter specification object
fdesign.halfband Halfband filter specification object
fdesign.hilbert Hilbert filter specification object
fdesign.isinchp Inverse sinc highpass filter specification
fdesign.isinclp Inverse sinc lowpass filter specification
fdesign.notch Notch filter specification
fdesign.nyquist Nyquist filter specification
fdesign.peak Peak filter specification
fdesign.polysrc Construct polynomial sample-rate converter (POLYSRC) filter designer
designFracDelayFIR Design band-limited fractional delay FIR filter
designMultirateFIR Multirate FIR filter design
designMultistageDecimator Multistage decimator design
designMultistageInterpolator Multistage interpolator design
fircband Constrained-band equiripple FIR filter
firceqrip Constrained equiripple FIR filter
fireqint Equiripple FIR interpolators
firgr Parks-McClellan FIR filter
firhalfband Halfband FIR filter design
firlpnorm Least P-norm optimal FIR filter
firls Least-square linear-phase FIR filter design
firminphase Minimum-phase FIR spectral factor
firnyquist Lowpass Nyquist (Lth-band) FIR filter
firpr2chfb Two-channel FIR filter bank for perfect reconstruction
ifir Interpolated FIR filter design
normalizefreq Switch filter specification between normalized frequency and absolute frequency
ca2tf Convert coupled allpass filter to transfer function form
cl2tf Convert coupled allpass lattice to transfer function form
iircomb IIR comb notch or peak filter
iirgrpdelay Optimal IIR filter with prescribed group-delay
iirlpnorm Least P-norm optimal IIR filter
iirlpnormc Constrained least Pth-norm optimal IIR filter
iirnotch Second-order IIR notch filter
iirpeak Second-order IIR peak or resonator filter
normalizefreq Switch filter specification between normalized frequency and absolute frequency

Objects

expand all

dsp.Differentiator Direct form FIR fullband differentiator filter
dsp.HampelFilter Filter outliers using Hampel identifier
dsp.HighpassFilter FIR or IIR highpass filter
dsp.LowpassFilter FIR or IIR lowpass filter
dsp.MedianFilter Median filter
dsp.NotchPeakFilter Second-order tunable notching and peaking IIR filter
dsp.VariableBandwidthFIRFilter Variable bandwidth FIR filter
dsp.VariableBandwidthIIRFilter Variable bandwidth IIR filter
dsp.CICCompensationDecimator Compensate for CIC decimation filter using FIR decimator
dsp.CICCompensationInterpolator Compensate for CIC interpolation filter using FIR interpolator
dsp.FIRHalfbandDecimator Halfband decimator
dsp.FIRHalfbandInterpolator Halfband interpolator
dsp.IIRHalfbandDecimator Decimate by factor of two using polyphase IIR
dsp.IIRHalfbandInterpolator Interpolate by a factor of two using polyphase IIR

Blocks

expand all

Analog Filter Design Design and implement analog filters
Digital Filter Design Design and implement digital FIR and IIR filters
Filter Realization Wizard Construct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks
Arbitrary Response Filter Design arbitrary response filter
Bandpass Filter Design bandpass filter
Bandstop Filter Design bandstop filter
Comb Filter Design comb Filter
Differentiator Filter Direct form FIR fullband differentiator filter
Hampel Filter Filter outliers using Hampel identifier
Highpass Filter Design FIR or IIR highpass filter
Hilbert Filter Design Hilbert filter
Inverse Sinc Filter Design inverse sinc filter
Lowpass Filter Design FIR or IIR lowpass filter
Median Filter Median filter
Notch-Peak Filter Design second-order tunable notching and peaking IIR filter
Variable Bandwidth FIR Filter Design tunable bandwidth FIR filter
Variable Bandwidth IIR Filter Design tunable bandwidth IIR filter
CIC Filter Design Cascaded Integrator-Comb (CIC) Filter
CIC Compensation Decimator Compensate for CIC filter using FIR decimator
CIC Compensation Interpolator Compensate for CIC filter using FIR interpolator
FIR Halfband Decimator Decimate signal using polyphase FIR halfband filter
FIR Halfband Interpolator Interpolate signal using polyphase FIR half band filter
IIR Halfband Decimator Decimate signal using polyphase IIR halfband filter
IIR Halfband Interpolator Interpolate signal using polyphase IIR halfband filter
Nyquist Filter Design Nyquist filter

Topics