Exclude last sample as peak despite being the maximum
이전 댓글 표시
The first sample is excluded despite being the maximum in findpeaks(). How to exclude the last peak?

댓글 수: 1
Adam
2015년 10월 20일
Assuming you mean the peak that comes with the final sample can't you just delete the last peak from the list of peaks that get found? It may need a test to check the peak location is equal to the last index as it may be a trough instead in some cases, but that depends on your data.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!