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

조회 수: 7 (최근 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

추가 답변 (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 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