I want to display the trajectory of my MPU sensor from accelerometer and gyroscope readings. I process my data on Matlab, I rotate the acceleration in the World Ref Frame, remove gravity, then apply a 3th order Buttrworth to acceleration. From that I integrate the velocity and again to get displacement. The problem is that the results I'm getting seems wrong. Is my processing right?