Path: SC/Environs
% Loads in the World Magnetic Model coefficients file
Loads in the WMM.COF file found on the path. The actions are:
'help' - load the file and see the help
'create mat file' - create the mat file WMM.mat
'plot' - plot the data for the ECI vector r and jD
Type WMM for a demo that will plot the field in an ISS orbit.
--------------------------------------------------------------------------
Form:
WMM(action,r,jD)
--------------------------------------------------------------------------
------
Inputs
------
action (1,:) One of three actions
r (3,:) ECI position vector if you type action 'plot'
jD (1,:) Julian date if you type action 'plot'
-------
Outputs
-------
None
--------------------------------------------------------------------------
References: Software and Model Support:
National Geophysical Data Center NOAA EGC/2
--------------------------------------------------------------------------
See also: MagField
--------------------------------------------------------------------------
Orbit: OrbitSim/RVOrbGen SC: Environs/MagField SC: Ephem/ISSOrbit Common: General/SaveStructure Common: Time/DateStringToJD Common: Time/JD2Date
Back to the SC Module page