Digital Filter Design
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 Analyzer | View, analyze, and compare filters (Since R2024a) |
Filter Designer | Design filters starting with algorithm selection |
Live Editor Tasks
Design Filter | Design a digital filter in the Live Editor (Since R2021b) |
Functions
Topics
- IIR Filter Design
This example compares classical Butterworth, Chebyshev, and elliptic designs; and explores Bessel, Yule-Walker, and generalized Butterworth filters.
- FIR Filter Design
This example shows how to use windowing, least squares, or the Parks-McClellan algorithm to design lowpass, highpass, multiband, or arbitrary-response filters, differentiators, or Hilbert transformers.
- Filter Implementation
Filter signals using the
filter
function. - Anti-Causal, Zero-Phase Filter Implementation
Eliminate the phase distortion introduced by an IIR filter.
- Compensate for the Delay Introduced by an FIR Filter
Use indexing to counteract the time shifts introduced by filtering.
- Compensate for the Delay Introduced by an IIR Filter
Remove delays and distortion introduced by filtering, when it is critical to keep phase information intact.
- Take Derivatives of a Signal
Use a differentiator filter to differentiate a signal without amplifying the noise.
- Filter Builder Design Process
filterBuilder
is a graphical interface that speeds up the filter design process. - Generating Guitar Chords Using the Karplus-Strong Algorithm
Generate realistic guitar chords using the Karplus-Strong algorithm and discrete-time filters.