Main Content

Fixed-Point Filters

Fixed-point filter design

You can model fixed-point signal processing filtering algorithms and analyze the effects of quantization on system behavior and performance using the DSP System Toolbox™ and Fixed-Point Designer™ functionality. For a list of DSP System Toolbox System objects that support fixed-point operations, see System Objects in DSP System Toolbox that Support Fixed-Point Design. For a list of DSP System Toolbox blocks that support fixed-point operations, use the showsignalblockdatatypetable function.

Objects

expand all

dsp.AllpoleFilterIIR Filter with no zeros
dsp.DifferentiatorDirect form FIR fullband differentiator filter
dsp.FIRFilterStatic or time-varying FIR filter
dsp.HighpassFilterFIR or IIR highpass filter
dsp.IIRFilterInfinite impulse response (IIR) filter
dsp.LowpassFilterFIR or IIR lowpass filter
dsp.SOSFilterImplement cascade of second order section filters (Since R2020a)
dsp.CICCompensationDecimatorCompensate for CIC decimation filter using FIR decimator
dsp.CICCompensationInterpolatorCompensate for CIC interpolation filter using FIR interpolator
dsp.CICDecimatorDecimate signal using cascaded integrator-comb (CIC) filter
dsp.CICInterpolatorInterpolate signal using cascaded integrator-comb filter
dsp.DigitalDownConverterTranslate digital signal from intermediate frequency (IF) band to baseband and decimate it
dsp.DigitalUpConverterInterpolate digital signal and translate it from baseband to IF band
dsp.FarrowRateConverterPolynomial sample rate converter with arbitrary conversion factor
dsp.FIRDecimatorPerform polyphase FIR decimation
dsp.FIRHalfbandDecimatorDecimate signal using polyphase FIR halfband filter
dsp.FIRHalfbandInterpolatorInterpolate signal using polyphase FIR halfband filter
dsp.FIRInterpolatorPerform polyphase FIR interpolation
dsp.FIRRateConverterPerform polyphase FIR sample rate conversion
dsp.SubbandAnalysisFilterDecompose signal into high-frequency and low-frequency subbands
dsp.SubbandSynthesisFilterReconstruct signal from high-frequency and low-frequency subbands
dsp.LMSFilterCompute output, error, and weights of least mean squares (LMS) adaptive filter

Functions

freqrespestFrequency response estimate via filtering
freqrespoptsCreate an options object for frequency response estimate
freqzFrequency response of discrete-time filter System object
impzImpulse response of discrete-time filter System object
isstableVerify that discrete-time filter System object is stable
noisepsdPower spectral density of filter output due to round-off noise
noisepsdoptsCreate an options object for output noise PSD computation
reorderReorder second-order sections of biquadratic filter System object
scaleScale second-order sections
specifyallFully specify fixed-point filter System object settings
zplaneZ-plane zero-pole plot for discrete-time filter System object

Blocks

expand all

Allpole FilterModel allpole filters
Biquad FilterModel biquadratic IIR (SOS) filters
Differentiator FilterDirect form FIR fullband differentiator filter
Discrete FilterModel Infinite Impulse Response (IIR) filters
Discrete FIR FilterModel FIR filters
Highpass FilterDesign FIR or IIR highpass filter
Lowpass FilterDesign FIR or IIR lowpass filter
CIC Compensation DecimatorCompensate for CIC filter using FIR decimator
CIC Compensation InterpolatorCompensate for CIC filter using FIR interpolator
CIC DecimationDecimate signal using cascaded integrator-comb filter
CIC InterpolationInterpolate signal using cascaded integrator-comb filter
Digital Down-ConverterTranslate digital signal from intermediate frequency (IF) band to baseband and decimate it
Digital Up-ConverterInterpolate and translate digital signal from baseband to intermediate frequency (IF) band
Farrow Rate ConverterPolynomial sample-rate converter with arbitrary conversion factor
FIR DecimationPerform polyphase FIR decimation
FIR Halfband DecimatorDecimate signal using polyphase FIR halfband filter
FIR Halfband InterpolatorInterpolate signal using polyphase FIR halfband filter
FIR InterpolationPerform polyphase FIR interpolation
FIR Rate ConversionPerform polyphase FIR sample rate conversion
Two-Channel Analysis Subband FilterDecompose signal into high-frequency and low-frequency subbands
Two-Channel Analysis Subband FilterDecompose signal into high-frequency and low-frequency subbands
LMS FilterCompute output, error, and weights using least mean squares (LMS) adaptive algorithm
Filter Realization Wizard(To be removed) Construct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks

Topics

Featured Examples