Dipole:

Path: SC/MagneticControl

% Compute the magnetic field of a dipole
--------------------------------------------------------------------------
   Form:
   b = Dipole( m, xD, x )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   m             (3,1)   Magnetic dipole vector (ATM^2)
   xD            (3,1)   Location of the dipole (m)
   x             (3,:)   Points of interest (m)

   -------
   Outputs
   -------
   b             (3,:)   Magnetic field (T)

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

Children:

Common: Database/Constant
Common: Graphics/Plot2D
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/Mag
Math: Linear/Unit

Back to the SC Module page