fil_a.m
PURPOSE:
Generates the Z directed vector potential Az from by a straight filament
centered at the origin [0,0,0] carrying Unit current (1A) in the +Z direction
Filament limits are z=-c/2 to z=+c/2
Only component is Az, All other components are zero (Ax, Ay == 0)
Note: All Units are MKS (meters, Amps, Tesla)
SYNTAX:
az= fil_a(x,y,z,c)
INPUT:
x,y,z = coordinates of field point for calculation of Az [m]
c = length of filament (scalar or same length as x) [m]
Note: x,y,z or c can be a scalar or matrix but all matricies must be
same size. Any of the components can be a scalar.
OUTPUT:
az == Vector Potential, Az, at point x,y,z [Web/m]
Caution: On filament (x=y=0) solution is infinite between -a/2<=z<=a/2
solution gives INF. On axis (r=0), above and below the filament
the solution is finite and correctly calculated
DO NOT USE FOR SELF INDUCT.
Dependencies