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 by choosing algorithm or specifying constraints |
Live Editor Tasks
| Design Filter | Design a digital filter in the Live Editor (Since R2021b) |
Functions
Filter Responses
Topics
- Use Filter Designer App
Import or create filters, design, inspect, and export filter designs.
- STEP 1: Import or Create Filters
- STEP 2: Design Filters
- STEP 3: Quantize Filters
- STEP 4: Manage and Analyze Filters
- STEP 5: Export and Share Filters
- 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
filterfunction. - 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.
- Generate Guitar Chords Using the Karplus-Strong Algorithm
Generate realistic guitar chords using the Karplus-Strong algorithm and discrete-time filters.
Related Information
Featured Examples
Teaching Resources
Digital Signal Processing: Signals and Filter Design
Learn the concepts behind analog and digital signals, filters, and filter designs, and apply your learning to build a filtering app.



