MATLAB: Instead of using the threshold to select coefficients in the Fourier domain, you could also use a low-pass filter. can some one explain which would be better

low-pass filter

Instead of using the threshold to select coefficients in the Fourier domain, you could also use a low-pass filter. can some one explain which would be better?

Best Answer

I think using a lowpass filter is better in most cases than just zeroing out coefficients in the Fourier transform.
A lowpass filter gives you a better attenuation profile by multiplying the signal's Fourier transform with the Fourier transform of the filter (convolution in time).