Accelerometer data analyses calculating velocity/speed
5 views (last 30 days)
Show older comments
Hello, I have extracted data from a person running using an ADXL335 accelerometer with 3 axis (the data is here, with time, x axis, y axis and z axis, in the filled name acc). The frequency is 3200Hz, and we extracted values every 0.01 seconds. I would like to calculate the velocity/speed, but I have no ideia how to do it. Can someone help? Also, how else can I analyse this data?
1 Comment
James Tursa
on 1 Jun 2018
Edited: James Tursa
on 1 Jun 2018
Basically you could cumsum the acc+gravity to get velocity, and cumsum the velocity to get position. But this is going to be very crude if you don't have any rotational information since you will have to make an assumption about the direction of gravity. I am assuming the accelerometer unit is bouncing around quite a bit.
You probably don't want to extract values from the raw data since that is losing information. Rather, process all of the data and then smooth/sample the results at a lower frequency.
What are the units of acc? Why are all the values non-negative?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!