------------------------------------------------------------------------------- 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) -------------------------------------------------------------------------------