IGRF Magnetic Field

version (1010 KB) by Charles Rino
Compute IGRF mean earth magnetic field


Updated 4 Oct 2010

View License

MATLAB implementation of IGRF11 fortran code as function for calculating Earth mean magnetic field. Implementation has been modified to default to GPS reference coordinates with output B components North, East, and Vertical. Spherical harmonic coefficients are derived from downloaded Excel file.

Screenshot created by Demo_igrf11syn

Cite As

Charles Rino (2022). IGRF Magnetic Field (https://www.mathworks.com/matlabcentral/fileexchange/28874-igrf-magnetic-field), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!