How to Find Prominence of Peaks

69 ビュー (過去 30 日間)
Ephraim Bryski
Ephraim Bryski 2021 年 3 月 2 日
回答済み: William Rose 2021 年 3 月 2 日
Hi. I have a time series graph and I would like to find peaks as well as how prominent those peaks are. I know I can use findpeaks() with the 'MinPeakProminence' argument to find peaks with a minimum prominence, but is there a way of finding the prominence of those peaks without just iterating the function call each time with a different 'MinPeakProminence' value? Thanks.


William Rose
William Rose 2021 年 3 月 2 日
Yes, the prominence is the fourth (and optional) output argument of findpeaks().
returns the prominences in p.
finds peaks with prominence >=1000 and returns the prominences in p.

その他の回答 (0 件)




Community Treasure Hunt

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

Start Hunting!

Translated by