MagneticFieldDemo:

Path: SC/Environs

% Compare the magnetic field models.
 Compares the dipole and IGRF models in a polar orbit. Also computes the
 variations from the dipole of the Mead-Fairfield model.

 Things to try: look at other orbits, such as an equatorial orbit, for
 comparison. Also try different numbers of coefficients in the IGRF model.
  ------------------------------------------------------------------------
  See also Plot2D, JD2000, PltOrbit, RVFromKepler, BDipole, 
  MagField, BMF
  ------------------------------------------------------------------------
%
-------------------------------------------------------------------------------
	  Copyright (c) 1999-2003, 2007, 2016 Princeton Satellite Systems, Inc. 
   All rights reserved.
-------------------------------------------------------------------------------
   2016.1 Switch to newer IGRF11 model (from 1995 data) for the Earth
--------------------------------------------------------------------------