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!