How can I plot the magnitude spectrums of the signal before and after filtering

4 views (last 30 days)
I have cutoff frequency 0.2 Hz. I want to design a pair of lowpass FIR and IIR filters(any filter type is ok).
How can I plot the magnitude spectrums of the signal before and after filtering out the one or two high frequency components.

Accepted Answer

Star Strider
Star Strider on 14 May 2020
You need to take the Fourier transforms of both signals.

More Answers (0)

Categories

Find more on Digital and Analog Filters in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!