BSP7010
Lab Experiment 3
MATLAB Filter Design and Audio Enhancement
August 3, 2026
1 Aim
In this experiment, you will learn how to design FIR filters in MATLAB.
2 MATLAB’s filterDesigner Tool
We will be looking at the Filter Designer which is a convenient alternative to the command line filter
design functions in the Signal Processing Toolbox provided by MATLAB.
You will learn more about the various options present in the GUI in the later section of the course.
To use this tool, simply enter the following command in the MATLAB console:
>> f i l t e r D e s i g n e r
This opens the following window:
Figure 1: Filter Designer window in MATLAB
1
Tweak the various parameter settings to design your filter of choice. Once you are done, you should
export the filters to the MATLAB workspace, or to a file for further use. To do this, go to File →
Export... and choose whether to export to workspace or MAT-File. Read more about the following
functions:
• 1-D digital filtering
Read about how to use a filter generated from this tool. Documentation provided by MATLAB is the
best place to start.
Note: Syntax exploration is left as an exercise.
3 Problem Statement
In MATLAB, read the ‘.wav’ file, and process it using the filters you designed, and play the output
using earphones. Verify that there is a reduction in noise levels. Here you will have to investigate the
audio signals and design filter properties accordingly.
Evaluation will be based on how you investigate as well as the final noise reduction. Submit atleast
one filter per sub-part
Use an appropriate quantization – for high quality audio, 16 bits per sample is considered acceptable
3.1 Filter Design for low-pass type audio signal
filename = ‘speech male [Link]’
Playing this file, you will be able to hear some speech contaminated by noise. Assuming the signal is
of low-pass type, design low-pass FIR filters in MATLAB. Consider using an equiripple FIR filter.
How will you choose sampling, pass-band, and stop-band frequencies? What are the characteristics of
noise here?
3.2 Speech signal contaminated by additive periodic noise
filename = ‘speech female periodic [Link]’
You are given a speech signal that is contaminated by additive periodic noise. Check the effectiveness
of your filter as before.
Hint: This type of noise is encountered in helicopters, ships, electrical machines, etc.
How is the noise in this part different from the last one? What is the name given to filters used for
this kind of noise? Is there a common term used for such type of noise?