필터 지우기
필터 지우기

Indexing force plate data

조회 수: 7 (최근 30일)
LukeJes
LukeJes 2020년 11월 11일
댓글: KSSV 2020년 11월 11일
Hi,
I am trying to index the following force plate data at the points represented in red (y = 0.01), so that I can cut the data into individual spikes with an associated zero-phase. I have tried flipping the data and using findpeaks and islocalmax, but note that the zero phase is quite noisy so it would index at points which were not consistent.
I am thinking that using find and defining a threshold will be the best way to go?
I have attached a matfile with the data.

채택된 답변

KSSV
KSSV 2020년 11월 11일
If (x,y) is your data. You can get those y values of 0.01 using:
tol = 10^-4 ; % consider changing this
idx = abs(y-0.01)<=tol ;
y(idx)
  댓글 수: 1
KSSV
KSSV 2020년 11월 11일
Yes....thats why <= is used.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by