How can I calculate the Peak acceleration from IMU output file?

4 visualizaciones (últimos 30 días)
Newbie
Newbie el 16 de Jun. de 2020
Editada: Newbie el 16 de Jun. de 2020
I'm trying to calculate the cumulative acceleration from IMU file. (Attached) Can I use this code (https://www.mathworks.com/matlabcentral/answers/453374-converting-accelerometer-data-to-frequency#answer_368192) and what should I change? Thanks in advance
  6 comentarios
Newbie
Newbie el 16 de Jun. de 2020
My bad. I actually need the peak acceleration. Should I use findpeaks function instead?
Newbie
Newbie el 16 de Jun. de 2020
@James
There should be internal and external rotation as this sensor is attached to lower leg

Iniciar sesión para comentar.

Respuesta aceptada

David Hill
David Hill el 16 de Jun. de 2020
num = xlsread('test550.xlsx');
peakAcc=max(vecnorm(num(:,3:5)'));

Más respuestas (0)

Categorías

Más información sobre Physical and Time Unit Conversions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by