How can I get the main peaks from a signal with a lot of noises?

4 views (last 30 days)
I have a signal with a lot of noises and I would like to find those peaks that I have circled in the attached picture. I tried using findpeaks function with MinPeakHeight and MinPeakProminence options but I did not succeed. Thanks

Accepted Answer

Star Strider
Star Strider on 10 Dec 2018
That appears to be a Fourier transform of a noisy signal. If so, because the noise is broadband, a frequency-selective filter of the time-domain signal will not provide an effective solution.
I would use the envelope (link) function on the data you presented, and then identify the peaks of the envelope. You will have to experiment with it to get the resolution you want.
  2 Comments
marco taruselli
marco taruselli on 11 Dec 2018
Yes exactly! I tried with envelope function and it does what I asked for! Thank you very much!
Star Strider
Star Strider on 11 Dec 2018
My pleasure!
If my Answer helped you solve your problem, please Accept it!

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!