BiotSavart:

Path: Electrical/Electromagnetism

% The Biot Savart law

 The Biot Savart law computes the magnetic field vector given current
 elements. The vector from i to r is done from the middle of each element.
 If this would cause a divide by zero it adjusts the location. You may 
 still get unphysical answers if the position is too close to the loop.
 i may be a vector of data structures. For closed loops include the 
 first and last point in i(k).node.

 Type BiotSavart for a demo of a straight line and current loops.

--------------------------------------------------------------------------
   Form:
   b = BiotSavart( i, r )
--------------------------------------------------------------------------

   ------
   Inputs
   ------

   i     (.) Data structure of currents
              .node	(3,:) Current element nodes. Units are meters.
              .mag   (1,1) Magnitude of the current. Units are Amperes.
   r     (3,:) Locations. Units are meters.

   -------
   Outputs
   -------

   b     (3,:) Field vector at the grid points. Units are Tesla

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

Children:

Common: Graphics/NewFig
Math: Linear/Cross
Math: Linear/Mag
Math: Linear/Unit

Back to the Electrical Module page