How do you smooth peaks?

조회 수: 4 (최근 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 CenterFile Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by