Convert magnetic field X, Y, Z values from device into global reference frame

In my comment on the checked answer on the link you provided above, I referred to my simple answer at calculate acceleration in reference to true north Let me answer here again with more clarification. The answer is the product of the rotation matrix and the magnetic field values. If you read further on the … Read more