How set minimum peak height (threshold of peak height)

I have curve with multiple peaks, but I want to set minimum peak height (for example to consider peak only if the peak height >1) and get peaks location and peaks height. I used "findpeaks", but I can not be able to set the peak height threshold. Please kindly help me. Many thanks in advance.

1 件のコメント

Muthu Annamalai
Muthu Annamalai 2015 年 7 月 30 日
Can you share a code snippet that we can improve upon?

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

回答 (1 件)

Muthu Annamalai
Muthu Annamalai 2015 年 7 月 30 日

0 投票

Turns out in your case there is an option called MinPeakHeight in the findpeaks documentation.
Check this out, MinPeakHeight option

質問済み:

2015 年 7 月 30 日

コメント済み:

2015 年 7 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by