Skip to content

Question for calculating Mag(N), Mag(E) #1

@wkyoun

Description

@wkyoun

@zarathustr

Dear Jin Wu
Thank you for sharing the great contribution to FKF.

However, I have a simple question as following.

Would you please explain why mD and mN is calculated as following?

    mD=dot(Accelerometer(i,:),Magnetometer(i,:));
    mN=sqrt(1-mD^2);

https://github.com/zarathustr/FKF/blob/master/main_performance.m#L62-L63

As far as I understand,

magnetic field vector B*(cos (alpha), 0, sin(alpha) where B is the strength of the magnetic field and alpha is the inclination angle

Dos this dot(Accelerometer(i,:),Magnetometer(i,:)); operation means inclination angle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions