How to isolate peaks from a noisy power spectrum
조회 수: 7 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Star Strider
2019년 2월 25일
The findpeaks (link) function comes quickly to mind. Also, the islocalmax (link) function, introduced in R2017b.
댓글 수: 4
Star Strider
2019년 3월 4일
‘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.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!