Digital Filter Design
Design and implement digital FIR and IIR filters using Filter Designer app
Libraries:
DSP System Toolbox /
Filtering /
Filter Designs
Description
Use the Digital Filter Design block to design, analyze, and implement digital FIR and IIR filters. The block designs and analyzes the filter using the Filter Designer app. The block provides the same implementation as the Discrete FIR Filter (Simulink) block for FIR filters and Second-Order Section Filter block for IIR filters.
To launch the app, double-click the Digital Filter Design block. In the app interface that opens, you can import pre-designed filters or specify the filter design parameters and analyze the filter using analysis tools such as the magnitude response plot, pole-zero plot, and impulse response plot. For more information, see Import or Create Filters.
Once you design the filter, the Digital Filter Design block
automatically realizes the filter. When you simulate the model, the Digital
Filter Design block applies the designed filter to each channel of the input
signal. You can iteratively tune the filter during simulation by changing the filter
design parameters in the app. The output of the Digital Filter Design
block is the filtered signal and numerically matches the outputs of the Discrete
FIR Filter block for FIR filters, Second-Order Section Filter
block for IIR filters, and the filter function.
In the app, you can save and export the filters you design. For more information, see Export and Share Filters.
Examples
Ports
Input
Output
Parameters
Designer Tab

For more information about the design parameters in the app, see Filter Designer.
You can tune the filter specifications in the Filter Designer app during simulation if your changes do not modify the filter length or the filter order. As you apply the changes, the Digital Filter Design block updates to reflect the new filter configuration.
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|


