How can I remove harmonics from my spectrogram?

There are several harmonics plotting in my power spectral density spectrogram but I only want to include the first one. How can I remove the other harmonics?

Answers (1)

If you know the frequency of the fundamental (that is what I assume you are referring to), use the bandpass function on the time-comain signal. For best results, specify the name-value pair 'ImpulseResponse','iir'.

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Asked:

on 29 Jul 2022

Answered:

on 29 Jul 2022

Community Treasure Hunt

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

Start Hunting!