Filter Signal

Design a filter where an existing speech or audio signal using user-designed LPF, HPF or BPF
Updated 23 Jun 2015

View License

Speech processing designates a team consisting of Prof. Lawrence Rabiner (Rutgers University and University of California, Santa Barbara), Prof. Ronald Schafer (Stanford University), Kirty Vedula and Siva Yedithi (Rutgers University). This exercise is one of a set of speech processing exercises that are intended to supplement the teaching material in the textbook “Theory and Applications of Digital Speech Processing” by L R Rabiner and R W Schafer.
A basic signal processing operation is filtering of an existing signal using a user-designed filter. The goal of the filtering operation is to remove extraneous (unwanted) signal components at either or both the low frequency or the high frequency end of the spectrum. Such undesired signal components include dc offset, low frequency hum, and low and high frequency noise which are often created during the speech recording process. The choice of filter type includes lowpass, highpass, and bandpass filter. This exercise allows the user to provide a set of ideal filter specifications and then design a filter which approximates the ideal filter using the MATLAB function, firpm.m, an FIR filter design algorithm. The user can examine the resulting filter in the time and frequency domains, and then filters the designated speech signal using the designed filter. The filter design and signal processing operations can be iterated as often as desired, until a desired filtering result is obtained.

Cite As

Speech Processing (2024). Filter Signal (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: fft plotting, MyEqualizer(varargin)

More Files in the  Distance Learning Community

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Minor layout tweaks
Updated to work with post-R2014b graphics
Updated to work with post-R2014b graphics

updates to code; added Read_Me.txt setup file info;

added spectrogram of input and output speech