filtering harmonics: preserving overall spectrum without simple notch filtering

9 views (last 30 days)
I'm trying to remve the (mains power) harmonics from the signal shown below. A notch filter would reduce the signal to zero in these bands of peaks, which is too strong as I would like to preserve ('interpolate') the noisy overall shape of the spectrum, across the entire frequency axis. Is there a tool/method/'intelligent' way of doing this?

Answers (1)

Frantz Bouchereau
Frantz Bouchereau on 13 Feb 2024
Edited: Frantz Bouchereau on 13 Feb 2024
Please take a look at the following example:
The example guides you to use wavelet packets to remove harmonics from a signal. It compares the results with notch filters and shows that the signal spectral shape is better preserved with the wavelet packet technique.

Community Treasure Hunt

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

Start Hunting!