MATLAB Answers

How to isolate peaks from a noisy power spectrum

13 views (last 30 days)
Georgios Tertikas
Georgios Tertikas on 25 Feb 2019
Commented: Star Strider on 4 Mar 2019
I have a noisy power spectrum with several distinguishable peaks. Does anyone know of an automated way to isolate the peaks in an automatic way? I have to do this for multiple power spectrums.

Answers (1)

Star Strider
Star Strider on 25 Feb 2019
The findpeaks (link) function comes quickly to mind. Also, the islocalmax (link) function, introduced in R2017b.
  4 Comments
Star Strider
Star Strider on 4 Mar 2019
I hope this covers some things.
It does not add any useful information.
Note that you need to square the magnitude (using the abs function) of the normalised fft output to calculate power.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!