Extracting specific portions of acceleromeetr signal
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
MA-Winlab
el 11 de Feb. de 2019
Comentada: KSSV
el 13 de Feb. de 2019
Dear collouges
I have an acceleration signal with period of wiggling (resulted from motion) and periods of silent. I would like to extrcat the data points that show the motion and save them in a matrix or vector. Attached is a .mat file with data of the x-axis from my accelerometer.
I appreciate if you help me with this
Thank you
0 comentarios
Respuesta aceptada
KSSV
el 12 de Feb. de 2019
load('accx.mat') ;
tol = 0.1 ; % can be varied
idx = abs(accx)>tol ;
plot(accx(idx))
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Waveform Generation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!