Main Content

Digital Filter Design

FIR, IIR, windowing, equiripple, least squares, Butterworth, Chebyshev, elliptic, pulse shaping

Design digital filters using as a starting point a set of specifications (designfilt) or a design algorithm (butter, fir1). Generate FIR differentiators and Hilbert filters.

Apps

Filter AnalyzerView, analyze, and compare filters (Since R2024a)
Filter DesignerDesign filters starting with algorithm selection

Live Editor Tasks

Design FilterDesign a digital filter in the Live Editor (Since R2021b)

Functions

expand all

butterButterworth filter design
buttordButterworth filter order and cutoff frequency
cheby1Chebyshev Type I filter design
cheb1ordChebyshev Type I filter order
cheby2Chebyshev Type II filter design
cheb2ordChebyshev Type II filter order
designfiltDesign digital filters
ellipElliptic filter design
ellipordMinimum order for elliptic filters
yulewalkRecursive digital filter design
cfirpmComplex and nonlinear-phase equiripple FIR filter design
designfiltDesign digital filters
fir1Window-based FIR filter design
fir2Frequency sampling-based FIR filter design
firclsConstrained-least-squares FIR multiband filter design
fircls1Constrained-least-squares linear-phase FIR lowpass and highpass filter design
firlsLeast-squares linear-phase FIR filter design
firpmParks-McClellan optimal FIR filter design
firpmordParks-McClellan optimal FIR filter order estimation
gaussdesignGaussian FIR pulse-shaping filter design
intfiltInterpolation FIR filter design
kaiserordKaiser window FIR filter design estimation parameters
maxflatGeneralized digital Butterworth filter design
rcosdesignRaised cosine FIR pulse-shaping filter design
sgolaySavitzky-Golay filter design
digitalFilterDigital filter
doubleCast coefficients of digital filter to double precision
dspfwizCreate Simulink filter block using Realize Model panel
filt2blockGenerate Simulink filter block
filterAnalyzerAnalyze filters with Filter Analyzer app (Since R2024a)
infoInformation about digital filter
isdoubleDetermine if digital filter coefficients are double precision
issingleDetermine if digital filter coefficients are single precision
polyscaleScale roots of polynomial
polystabStabilize polynomial
scaleFilterSectionsScale cascaded transfer functions with scale values (Since R2023b)
singleCast coefficients of digital filter to single precision

Topics

Related Information

Featured Examples