Demonstration of linear filtering with DFT

In this program we demonstrate linear filtering operation using DFT.
136 Downloads
Updated 1 Nov 2018

View License

In this program we demonstrate linear filtering operation using DFT. We take sine waves of different frequencies, and plot them. Then we mix all the sine waves to make a composite signal. We take DFT of the composite signal and plot it to show that all the frequencies are present. Then we multiply a mask to the DFT signal to filter the signal. Then we take IDFT and again plot the filtered signal. The plot demonstrates that indeed the signal has been filtered. A low pass filter is implemented in the example.

The program will be beneficial for undergraduate students.

I will update the program with labels for figures and remarks/comments on the code in short time.

Cite As

Dr. Deepak Kumar Rout (2024). Demonstration of linear filtering with DFT (https://www.mathworks.com/matlabcentral/fileexchange/69289-demonstration-of-linear-filtering-with-dft), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0