Tunable and Non-Tunable Filters Video Example Files

Version 1.0 (98.3 KB) by Jack Ferrari
The three Simulink files used as an example in the "How to Use Tunable and Non-Tunable Filters in DSP System Toolbox" video.
97 Downloads
Updated 2 Feb 2021

Non-tunable filter blocks independently filter each channel of the input signal over time using the filter design specified by their block parameters. As they are non-tunable, their block parameters and filter response cannot be changed during runtime. On the other hand, tunable Simulink blocks can have their block parameters modified during a simulation, removing the need to update the model diagram between runs and speeding up testing.

If you know beforehand that your filter’s response will be unchanging at runtime, the non-tunable filter design blocks can be used to design and implement FIR and IIR filters. In contrast, the Variable Bandwidth FIR and IIR filters, Discrete FIR filter, and Biquad filter blocks can be used to tune filter responses at runtime via filter parameters and coefficients.

To open the non-tunable bandpass filter implementation, launch "Bandpass_IIR.slx".

To open the bandpass filter implemented with a Variable Bandwidth IIR block and tuned via block parameters, launch "VB_IIR.slx".

To open the bandpass filter implemented with a Biquad Filter block and tuned via filter coefficients, launch "Biquad_IIR.slx".

For each example, you can view the performance of the bandpass filter by comparing the signal to noise ratio (SNR) values for the original and filtered signals in the Spectrum Analzyer. The SNR values can be displayed in the Spectrum Analzyer by enabling "Distortion Measurements" under Tools>Measurements. For the example files, this display is enabled by default.

Cite As

Jack Ferrari (2024). Tunable and Non-Tunable Filters Video Example Files (https://github.com/mathworks/filter-tunability-example/releases/tag/v1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Bandpass IIR

Biquad IIR

Variable Bandwidth IIR

Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.