How to find the smoothness of these results?
6 views (last 30 days)
Show older comments
I have a set of measurements of acceleration (in x, y, z direction).
I am supposed to be finding the indicator of the signal to show how smooth it is (jerk metric).
But i don`t know how to do it.
i understand that i have to use differentiation, to get the derivative of data ( i dont know if i have to differentiate the acceleration values).
Could someone help me to get some ideas?
Thank you
1 Comment
John D'Errico
on 9 Apr 2019
Jerk is a term sometimes used to describe the third derivative, thus the derivative of acceleration. If you have acceleration versus time, then cmpute the derivative.
Answers (1)
Jan
on 9 Apr 2019
Acceleration = rand(1, 1000); % Test data
Jerk = gradient(Acceleration);
This replies the two sided quotient of differences as 2nd order approximation of the derivative.
0 Comments
See Also
Categories
Find more on Smoothing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!