Drift in cumtrapz forceplate data
Show older comments
Dear comunity,
For a project I am analysing gait paterns with a force plate. Now I am using the function Cumtrapz to integrate the signal of the forceplate to get the velocity of the center of mass (COM) in the vertical direction of the person. The Fbw is the body weight what is measured by the mean of the signal of the forceplate when the person is standing still. Fres is the resulting force when to signal is compensated for the bodyweight. After that I calculate the acceleration of the COM, velocity and position of the COM. dt is 1/samplefrequency. Is there a posibility to adjust this script to the drift of the signal?
----
Fbw = mean(FPdata(1:100));
Fres = FPdata - Fbw;
ACOM = Fres/(Fbw/g);
VCOM = cumtrapz(ACOM)*dt;
PCOM = cumtrapz(VCOM)*dt;
-----
Accepted Answer
More Answers (0)
Categories
Find more on Spectral Estimation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!