How can I use the 'opposite' of findpeaks input argument?

13 ビュー (過去 30 日間)
Matterazzi
Matterazzi 2017 年 5 月 24 日
回答済み: Matlaber 2019 年 1 月 14 日
Is there a way I can use the opposite of 'MinPeakHeight' to cut out peaks that a greater than 10 in this example?
findpeaks(Cap,'MinPeakHeight',0,'MinPeakDistance',20,...
'Threshold',0, 'MinPeakProminence',1,'Annotate','extents')
Thanks in advance.

採用された回答

Michelangelo Ricciulli
Michelangelo Ricciulli 2017 年 5 月 24 日
Hello, It seems there is no "built-in" way to do this. But you could follow the simple example HERE if you really need to do it
  2 件のコメント
Matterazzi
Matterazzi 2017 年 5 月 24 日
Thanks a bunch.
Michelangelo Ricciulli
Michelangelo Ricciulli 2017 年 5 月 24 日
You're very welcome :)

サインインしてコメントする。

その他の回答 (1 件)

Matlaber
Matlaber 2019 年 1 月 14 日
why cannot we use
findpeaks(select,Fs,'MinPeakHeight',10)
MinPeakHeight is control the Y-axis level, above 10

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by