Main Content

Filter Design

Design and analyze FIR and IIR filters

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

The design techniques compute the filter coefficients based on the filter design specifications. Certain blocks such as Tunable Bandpass IIR Filter and Tunable Bandstop IIR Filter have tunable filter specifications, so you can change the filter specifications and redesign the filter while the simulation is running.


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

Attività di Live Editor

Design FilterDesign a digital filter or implement a System object in the Live Editor (Da R2021b)


espandi tutto

filterDesignerOpen Filter Designer app
filterBuilderInteractive filter design
fvtoolVisualize frequency response of DSP filters
designfiltDesign a digital filter or implement a System object
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.arbgrpdelayArbitrary group delay filter specification object
fdesign.arbmagArbitrary response magnitude filter specification object
fdesign.arbmagnphaseArbitrary response magnitude and phase 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.peakPeak filter specification
fdesign.polysrcConstruct polynomial sample-rate converter (POLYSRC) filter designer
designLowpassFIRDesign and implement lowpass FIR filter (Da R2023b)
designHighpassFIRDesign and implement highpass FIR filter (Da R2023b)
designBandpassFIRDesign and implement bandpass FIR filter (Da R2023b)
designBandstopFIRDesign and implement bandstop FIR filter (Da R2023b)
designHalfbandFIRDesign and implement halfband FIR filter (Da R2023b)
designMultirateFIRMultirate FIR filter design
designMultistageDecimatorMultistage decimator design
designMultistageInterpolatorMultistage interpolator design
designFracDelayFIRDesign band-limited fractional delay FIR filter (Da R2021a)
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
designLowpassIIRDesign and implement lowpass IIR filter (Da R2023b)
designHighpassIIRDesign and implement highpass IIR filter (Da R2023b)
designBandpassIIRDesign and implement bandpass IIR filter (Da R2023b)
designBandstopIIRDesign and implement bandstop IIR filter (Da R2023b)
designHalfbandIIRDesign and implement halfband IIR filter in the form of a coupled allpass filter (Da R2023b)
designNotchPeakIIRDesign and implement high-order Butterworth notch or peak IIR filter (Da R2023b)
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


espandi tutto

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


espandi tutto

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
Tunable Lowpass FIR FilterDesign lowpass FIR filter with tunable filter specifications (Da R2023b)
Tunable Lowpass IIR FilterDesign lowpass IIR filter with tunable filter specifications (Da R2023b)
Tunable Highpass FIR FilterDesign highpass FIR filter with tunable filter specifications (Da R2023b)
Tunable Highpass IIR FilterDesign highpass IIR filter with tunable filter specifications (Da R2023b)
Tunable Bandpass FIR FilterDesign bandpass FIR filter with tunable filter specifications (Da R2023b)
Tunable Bandpass IIR FilterDesign bandpass IIR filter with tunable filter specifications (Da R2023a)
Tunable Bandstop FIR FilterDesign bandstop FIR filter with tunable filter specifications (Da R2023b)
Tunable Bandstop IIR FilterDesign bandstop IIR filter with tunable filter specifications (Da R2023a)
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
Nyquist FilterDesign Nyquist filter