Can you limit findpeaks to only look for odd peaks (i.e. search 1st, 3d, 5th, etc. peaks)?

조회 수: 1 (최근 30일)
Thanks for the help :)

채택된 답변

Image Analyst
Image Analyst 2018년 12월 7일
No. You just find them all and subsample
[peakValues, indexesOfPeaks] = findpeaks(signals);
peakValues = peakValues(1:2:end);
indexesOfPeaks = indexesOfPeaks(1:2:end);

추가 답변 (0개)

카테고리

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