How can I remove harmonics from my spectrogram?

4 views (last 30 days)
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)

Star Strider
Star Strider on 29 Jul 2022
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

Community Treasure Hunt

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

Start Hunting!