https://nl.mathworks.com/help/wavelet/ref/removeharmonics.html
removeHarmonics - Remove harmonic interferences using wavelet packet transform - MATLAB
This MATLAB function removes harmonic interferences with base frequency Fh from x sampled at rate Fs and returns the result.
removeharmonicinterferencesusingwavelet