How do you smooth peaks?

14 ビュー (過去 30 日間)
Chelsea Tanchip
Chelsea Tanchip 2019 年 5 月 17 日
回答済み: convert_to_metric 2019 年 5 月 17 日
I want my algorithm to count 6 instead of 12 peaks in this figure. I can't use a threshold or minpeakdistance/height because my data varies in amplitude/distance (speech), so I'd like to smoothen these peaks to look like one curve (6 curves in total). Can I do that and how?
This is a time-amplitude signal.

回答 (1 件)

convert_to_metric
convert_to_metric 2019 年 5 月 17 日
Hi Chelsea,
Perhaps using findpeaks and specifying 'MinPeakProminence' will do the trick?

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by