필터 지우기
필터 지우기

std for width of data,is exist function for that?

조회 수: 1 (최근 30일)
x y
x y 2017년 3월 30일
I wan to make step counter with 'findpeaks' function. Treshold for minimum height above one standard deviation are treated as a step I use 'minPeakHeight = std(magnitudeAccelerometer);'.
[pks, locs] = findpeaks(magNoG, 'MINPEAKHEIGHT', minPeakHeight)
How should I calculate teshold for minimum width in peaks , for paramater 'MinPeakDistance' to 'findpeaks' function. Is already exist this parameter(MinPeakDistance) in 'findpeaks' function. I need idea how to calculate...
My graph is look like this (I did 10 step). (I seted up the 'MinPeakDistance' to 50 manualy).

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spectral Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by