find peaks of a flat signal

3 ビュー (過去 30 日間)
bzibubab bzibubab
bzibubab bzibubab 2020 年 2 月 5 日
コメント済み: Star Strider 2020 年 2 月 12 日
why the findpeaks function cant find several peaks in my signal ?? as i observed, it only happen when the peak is flat, as i marked the noticed peaks with red circles from the findpeaks function, and it couldnt notice any flat peaks.Screenshot (84).png
i have been struggling like a few days to find the answer in the internet and i got nothing. Please help. I really appreciate any kind of answer. Thank you in advance.

採用された回答

Star Strider
Star Strider 2020 年 2 月 5 日
If you have R2017b or later, use the islocalmax function, specifcially as described in the Flat Maxima Regions documentation section, using the FlatSelection name-value pair.
  4 件のコメント
bzibubab bzibubab
bzibubab bzibubab 2020 年 2 月 12 日
thank you for the responses, i greatly apprecited it. i tried to adapt the code you sent me, and now i got the answer i was looking for. Thank you so much ^^
Star Strider
Star Strider 2020 年 2 月 12 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

製品


リリース

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by