How to isolate peaks from a noisy power spectrum
    3 views (last 30 days)
  
       Show older comments
    
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.
0 Comments
Answers (1)
  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
      
      
 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.  
See Also
Categories
				Find more on Spectral Estimation in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
