Filter Design

FIR, IIR

Apps

Filter BuilderDesign filters starting with frequency and magnitude specifications (filterBuilder)

Functions

expand all

filterDesignerOpen Filter Designer app
filterBuilderInteractive filter design
fvtoolVisualize frequency response of DSP filters
butterButterworth IIR digital filter design
cheby1Chebyshev Type I filter using specification object
cheby2Chebyshev Type II filter using specification object
designApply design method to filter specification object
designmethodsMethods available for designing filter from specification object
designoptionsShow all options available for specified design
designoptsValid input arguments and values for specification object and method
ellipElliptic filter using specification object
equirippleEquiripple single-rate FIR filter from specification object
freqsampReal or complex frequency-sampled FIR filter from specification object
helpHelp for design method with filter specification
setspecsSpecifications for filter specification object
validstructuresStructures for specification object with design method
fdesignFilter design specification object
fdesign.bandpassBandpass filter design specification object
fdesign.bandstopBandstop filter design specification object
fdesign.highpassHighpass filter specification object
fdesign.lowpassLowpass filter specification
fdesign.decimatorDecimator filter specification object
fdesign.interpolatorInterpolator filter specification
fdesign.rsrcRational-factor sample-rate converter specification
fdesign.arbmagArbitrary response magnitude filter specification object
fdesign.arbmagnphaseArbitrary response magnitude and phase filter specification object
fdesign.audioweightingAudio weighting filter specification object
fdesign.ciccompCIC compensator filter specification object
fdesign.combIIR comb filter specification object
fdesign.differentiatorDifferentiator filter specification object
fdesign.fracdelayFractional delay filter specification object
fdesign.halfbandHalfband filter specification object
fdesign.hilbertHilbert filter specification object
fdesign.isinchpInverse sinc highpass filter specification
fdesign.isinclpInverse sinc lowpass filter specification
fdesign.notchNotch filter specification
fdesign.nyquistNyquist filter specification
fdesign.octaveOctave filter specification
fdesign.peakPeak filter specification
fdesign.polysrcConstruct polynomial sample-rate converter (POLYSRC) filter designer
designMultirateFIRMultirate FIR filter design
designMultistageDecimatorMultistage decimator design
designMultistageInterpolatorMultistage interpolator design
fircbandConstrained-band equiripple FIR filter
firceqripConstrained equiripple FIR filter
fireqintEquiripple FIR interpolators
firgrParks-McClellan FIR filter
firhalfbandHalfband FIR filter design
firlpnormLeast P-norm optimal FIR filter
firlsLeast-square linear-phase FIR filter design
firminphaseMinimum-phase FIR spectral factor
firnyquistLowpass Nyquist (Lth-band) FIR filter
firpr2chfbTwo-channel FIR filter bank for perfect reconstruction
ifirInterpolated FIR filter design
normalizefreqSwitch filter specification between normalized frequency and absolute frequency
ca2tfConvert coupled allpass filter to transfer function form
cl2tfConvert coupled allpass lattice to transfer function form
iircombIIR comb notch or peak filter
iirgrpdelayOptimal IIR filter with prescribed group-delay
iirlpnormLeast P-norm optimal IIR filter
iirlpnormcConstrained least Pth-norm optimal IIR filter
iirnotchSecond-order IIR notch filter
iirpeakSecond-order IIR peak or resonator filter
normalizefreqSwitch filter specification between normalized frequency and absolute frequency

Objects

expand all

dsp.DifferentiatorDirect form FIR fullband differentiator filter
dsp.HampelFilterFilter outliers using Hampel identifier
dsp.HighpassFilterFIR or IIR highpass filter
dsp.LowpassFilterFIR or IIR lowpass filter
dsp.MedianFilterMedian filter
dsp.NotchPeakFilterSecond-order tunable notching and peaking IIR filter
dsp.VariableBandwidthFIRFilterVariable bandwidth FIR filter
dsp.VariableBandwidthIIRFilterVariable bandwidth IIR filter
dsp.CICCompensationDecimatorCompensate for CIC decimation filter using FIR decimator
dsp.CICCompensationInterpolatorCompensate for CIC interpolation filter using FIR interpolator
dsp.FIRHalfbandDecimatorHalfband decimator
dsp.FIRHalfbandInterpolatorHalfband interpolator
dsp.IIRHalfbandDecimatorDecimate by factor of two using polyphase IIR
dsp.IIRHalfbandInterpolatorInterpolate by a factor of two using polyphase IIR

Blocks

expand all

Analog Filter DesignDesign and implement analog filters
Digital Filter DesignDesign and implement digital FIR and IIR filters
Filter Realization WizardConstruct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks
Arbitrary Response FilterDesign arbitrary response filter
Bandpass FilterDesign bandpass filter
Bandstop FilterDesign bandstop filter
Comb FilterDesign comb Filter
Differentiator FilterDirect form FIR fullband differentiator filter
Hampel FilterFilter outliers using Hampel identifier
Highpass FilterDesign FIR or IIR highpass filter
Hilbert FilterDesign Hilbert filter
Inverse Sinc FilterDesign inverse sinc filter
Lowpass FilterDesign FIR or IIR lowpass filter
Median FilterMedian filter
Notch-Peak FilterDesign second-order tunable notching and peaking IIR filter
Variable Bandwidth FIR FilterDesign tunable bandwidth FIR filter
Variable Bandwidth IIR FilterDesign tunable bandwidth IIR filter
CIC FilterDesign Cascaded Integrator-Comb (CIC) Filter
CIC Compensation DecimatorCompensate for CIC filter using FIR decimator
CIC Compensation InterpolatorCompensate for CIC filter using FIR interpolator
FIR Halfband DecimatorDecimate signal using polyphase FIR halfband filter
FIR Halfband InterpolatorInterpolate signal using polyphase FIR half band filter
IIR Halfband DecimatorDecimate signal using polyphase IIR halfband filter
IIR Halfband InterpolatorInterpolate signal using polyphase IIR halfband filter
Nyquist FilterDesign Nyquist filter

Topics

Using Filter Designer

An example discussing the filter designer app in detail.

Design a Filter in Fdesign — Process Overview

Learn how to analyze, design, and implement filters in MATLAB® and Simulink®.

Filter Builder Design Process

filterBuilder GUI.

Use Filter Designer with DSP System Toolbox Software

Presents a detailed reference covering the fixed-point, multirate, and scaling pages of the Filter Designer App.

Lowpass FIR Filter Design

This example shows how to design a lowpass FIR filter using fdesign.

Controlling Design Specifications in Lowpass FIR Design

This example shows how to control the filter order, passband ripple, stopband attenuation, and transition region width of a lowpass FIR filter.

Designing Filters with Non-Equiripple Stopband

This example shows how to design lowpass filters with stopbands that are not equiripple.

Design and Implement a Filter

Design a digital lowpass filter and incorporate it into your model to simulate the presence of low frequency noise.

Minimizing Lowpass FIR Filter Length

This example shows how to minimize the number coefficients, by designing minimum-phase or minimum-order filters.

References — Advanced Filters

Suggested reading and sources for advanced filter design topics.

Featured Examples