フィルターのクリア

How to find index with findpeaks?

32 ビュー (過去 30 日間)
JamJan
JamJan 2019 年 9 月 2 日
編集済み: Stephen23 2019 年 9 月 2 日
I have the following line:
A = findpeaks([75 45 12 94 60 34 30 51 85 95 85 55 53 53 63 28 53 34 28 38], 'MinPeakHeight', 50)
I want to know the indices of A (output of findpeaks). How to find them?

採用された回答

Stephen23
Stephen23 2019 年 9 月 2 日
編集済み: Stephen23 2019 年 9 月 2 日
findpeaks has a second output argument with the indices:
[A,idx] = findpeaks(...)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by