How to remove noise from the signal analyzed by fft

12 views (last 30 days)
i analyzed tide signal want find to the actual frequency but fft product many noise
i want remove it
matlab have which code can remove noise
thanks

Accepted Answer

Star Strider
Star Strider on 9 Apr 2022
Probably the easiest way to deal with a noisy signal (considering that the nature of the noise is not stated here) is to use the Signal Processing Toolbox sgolayfilt function. I usually choose a 3-degree polynomial, and then adjust the window length until I get the result that I want.
Take the fft of the smoothed signal to determine the frequency. It will have the same length and sampling frequency of the original data.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!