Introduction - If you have any usage issues, please Google them yourself
m file matlab compass can be extracted under triaxial raw data and automatically correct fitting to give its transformation matrix. The ellipse is automatically corrected to a perfect circle centered at the origin. Specifically for magnetometer and gravity meter automatically corrected.