Based on some acceleration data and/or velocity data, I would like to integrate the signals to get velocity and/or position using Matlab. Nevertheless, I meet some drift when simply using the function "cumtrapz" or multiplying the acceleration with my delta of time and summing the result with the previous value of velocity. I found some solution which is to center my acceleration on 0 between to key-frames but I'd like to check with everybody if somebody has a better solution.

Thanks for the help.

Similar questions and discussions