How set minimum peak height (threshold of peak height)

조회 수: 4 (최근 30일)
Kanakaiah Jakkula
Kanakaiah Jakkula 2015년 7월 30일
댓글: Kanakaiah Jakkula 2015년 7월 30일
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일
Turns out in your case there is an option called MinPeakHeight in the findpeaks documentation.
Check this out, MinPeakHeight option

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by