主要内容

滤波器设计

设计和分析 FIR 和 IIR 滤波器

您可以使用 DSP System Toolbox™ 函数、App 和模块来设计与分析各种数字 FIR 和 IIR 滤波器。其中一些滤波器包括高级滤波器,如奈奎斯特滤波器、半带滤波器、CIC 滤波器、高级等波纹滤波器和拟线性相位 IIR 滤波器。

设计方法根据滤波器设计设定来计算滤波器系数。某些模块(如 Bandpass IIR Filter DesignBandstop IIR Filter Design)具有可调滤波器设定,因此,您可以在仿真运行时更改滤波器设定并重新设计滤波器。

App

滤波器设计工具Design filters by choosing algorithm or specifying constraints

实时编辑器任务

设计滤波器Design a digital filter or implement a System object in the Live Editor (自 R2021b 起)

函数

全部展开

filterBuilder(To be removed) Interactive filter design
filterAnalyzerAnalyze filters with Filter Analyzer app (自 R2024a 起)
designfiltDesign digital filter
digitalFilterDigital filter
toMultirateCreate multirate filter System object from digital FIR filter object (自 R2025a 起)
butter巴特沃斯 IIR 数字滤波器设计
cheby1使用设定对象的切比雪夫 I 型滤波器
cheby2使用设定对象的切比雪夫 II 型滤波器
designApply design method to filter specification object
designmethods从设定对象设计滤波器的可用方法
designoptionsShow all options available for specified design
designoptsValid input arguments and values for specification object and method
ellip使用设定对象的椭圆滤波器
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.lowpass低通滤波器设定
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.fracdelay小数延迟滤波器设定对象
fdesign.halfbandHalfband filter specification object
fdesign.hilbert希尔伯特滤波器设定对象
fdesign.isinchpInverse sinc highpass filter specification
fdesign.isinclpInverse sinc lowpass filter specification
fdesign.notchNotch filter specification
fdesign.nyquistNyquist filter specification
fdesign.peak峰值滤波器设定
fdesign.polysrcConstruct polynomial sample-rate converter (POLYSRC) filter designer
designLowpassFIRDesign and implement lowpass FIR filter (自 R2023b 起)
designHighpassFIRDesign and implement highpass FIR filter (自 R2023b 起)
designBandpassFIRDesign and implement bandpass FIR filter (自 R2023b 起)
designBandstopFIRDesign and implement bandstop FIR filter (自 R2023b 起)
designHalfbandFIRDesign and implement halfband FIR filter (自 R2023b 起)
designMultirateFIRDesign and implement antialiasing and anti-imaging lowpass FIR filter
designMultistageDecimatorMultistage decimator design
designMultistageInterpolatorMultistage interpolator design
designRateConverterDesign multistage bandlimited sample-rate converter (自 R2024b 起)
designFracDelayFIRDesign and implement band-limited fractional delay FIR filter
fircbandConstrained-band equiripple FIR filter
firceqripConstrained equiripple FIR filter
fireqintEquiripple FIR interpolators
firgrGeneralized Remez 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 (自 R2023b 起)
designHighpassIIRDesign and implement highpass IIR filter (自 R2023b 起)
designBandpassIIRDesign and implement bandpass IIR filter (自 R2023b 起)
designBandstopIIRDesign and implement bandstop IIR filter (自 R2023b 起)
designHalfbandIIRDesign and implement halfband IIR filter in the form of a coupled allpass filter (自 R2023b 起)
designNotchPeakIIR设计并实现高阶巴特沃斯陷波或峰值 IIR 滤波器 (自 R2023b 起)
ca2tfConvert coupled allpass filter to transfer function form
cl2tfConvert coupled allpass lattice to transfer function form
iircombIIR 梳状陷波滤波器或峰值滤波器
iirgrpdelayOptimal IIR filter with prescribed group-delay
iirlpnormLeast P-norm optimal IIR filter
iirlpnormcConstrained least Pth-norm optimal IIR filter
normalizefreqSwitch filter specification between normalized frequency and absolute frequency

对象

全部展开

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.FIRHalfbandDecimatorDecimate signal using polyphase FIR halfband filter
dsp.FIRHalfbandInterpolatorInterpolate signal using polyphase FIR halfband filter
dsp.IIRHalfbandDecimatorDecimate by factor of two using polyphase IIR
dsp.IIRHalfbandInterpolatorInterpolate by a factor of two using polyphase IIR

滤波器响应

全部展开

Lowpass FIRDesign lowpass finite impulse response filter
Highpass FIRDesign highpass finite impulse response filter
Bandpass FIRDesign bandpass finite impulse response filter
Bandstop FIRDesign bandstop finite impulse response filter
Differentiator FIRDesign differentiator finite impulse response filter
Hilbert FIRDesign Hilbert finite impulse response filter
Arbitrary Response FIRDesign finite impulse response filter of arbitrary response
Lowpass IIRDesign lowpass infinite impulse response filter
Highpass IIRDesign highpass infinite impulse response filter
Bandpass IIRDesign bandpass infinite impulse response filter
Bandstop IIRDesign bandstop infinite impulse response filter

模块

全部展开

Analog Filter Design设计和实现模拟滤波器
Digital Filter DesignDesign and implement digital FIR and IIR filters using Filter Designer app
Lowpass FIR Filter DesignDesign lowpass FIR filter with tunable filter specifications (自 R2023b 起)
Lowpass IIR Filter DesignDesign lowpass IIR filter with tunable filter specifications (自 R2023b 起)
Highpass FIR Filter DesignDesign highpass FIR filter with tunable filter specifications (自 R2023b 起)
Highpass IIR Filter DesignDesign highpass IIR filter with tunable filter specifications (自 R2023b 起)
Bandpass FIR Filter DesignDesign bandpass FIR filter with tunable filter specifications (自 R2023b 起)
Bandpass IIR Filter DesignDesign bandpass IIR filter with tunable filter specifications (自 R2023a 起)
Bandstop FIR Filter DesignDesign bandstop FIR filter with tunable filter specifications (自 R2023b 起)
Bandstop IIR Filter DesignDesign bandstop IIR filter with tunable filter specifications (自 R2023a 起)
Differentiator FilterDirect form FIR fullband differentiator filter
Hampel FilterFilter outliers using Hampel identifier
Highpass Filter设计 FIR 或 IIR 高通滤波器
Lowpass Filter设计 FIR 或 IIR 低通滤波器
Median 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

主题

精选示例