Borrar filtros
Borrar filtros

Indexing force plate data

7 visualizaciones (últimos 30 días)
LukeJes
LukeJes el 11 de Nov. de 2020
Comentada: KSSV el 11 de Nov. de 2020
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.

Respuesta aceptada

KSSV
KSSV el 11 de Nov. de 2020
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 comentario
KSSV
KSSV el 11 de Nov. de 2020
Yes....thats why <= is used.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by