MATLAB: How to calculate the Peak acceleration from IMU output file

accelerationimu

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

Best Answer

num = xlsread('test550.xlsx');
peakAcc=max(vecnorm(num(:,3:5)'));
Related Question