How set minimum peak height (threshold of peak height)

47 views (last 30 days)
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.

Answers (1)

Muthu Annamalai
Muthu Annamalai on 30 Jul 2015
Turns out in your case there is an option called MinPeakHeight in the findpeaks documentation.
Check this out, MinPeakHeight option

Community Treasure Hunt

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

Start Hunting!