Derive velocity and position from acceleration
3 views (last 30 days)
Show older comments
Hello I have an accelerometer data and I want to derive velocity and position from it ,How can i do it ? Thank you
0 Comments
Accepted Answer
Star Strider
on 9 Apr 2017
I would first do a fft (link) of your signal to determine what part of the spectrum are your valid signals, and what are noise. Then use the Signal Processing Toolbox designfilt function to design a Chebychev Type II bandpass filter to filter out the noise and the d-c offset and low-frequency baseline drift.
Then use the cumtrapz function once with your acceleration signal to find the velocity, and use it to integrate the velocity signal to find displacement.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!