Rank: 132726 based on 0 downloads (last 30 days) and 0 file submitted
photo

Michael

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Michael View all
Updated File Comments Rating
25 Jan 2012 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston

I have noticed that results are inconsistant depending on the size if the inputs:

[Bx,By,Bz]=igrf(734305,[-10],0,0,'geodetic');
atand(Bz./sqrt(Bx.^2 + By.^2))

Gives an inclination of -48.9117, while:

[Bx,By,Bz]=igrf(734305,[-10,-5],0,0,'geodetic');
atand(Bz./sqrt(Bx.^2 + By.^2))

Gives an inclination of -48.6375, and other sized vectors produce slightly different results.

Otherwise it is well done.

25 Jan 2012 International Geomagnetic Reference Field (IGRF) Model Compute the Earth's magnetic field at points in space according to the IGRF model. Author: Drew Compston

Contact us