I\'m trying to obtain an optimal orientation from the angular velocity with a linear Kalman Filter. The follow script written in Matlab implements the Linear Kalman filter. The