MagneticDipole:

Path: SC/Environs

% Computes the magnetic field of a dipole along the z axis.
   Calculates the z and radial components of the field.

   Type MagneticDipole for a demo.
--------------------------------------------------------------------------
   Form:
   [bZ, bR] = MagneticDipole( m, theta, r )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   m           (1,1)   Dipole moment (ATM^2)
   theta       (1,:)   Angle from the z-axis
   r           (1,1)   Radial distance

   -------
   Outputs
   -------
   bZ          (1,:)   Magnetic field along Z (T)
   bR          (1,:)   Magnetic field along R (T)

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the SC Module page