mindbf.m
SYNTAX: [mut,br,bz]=mindbf(ra,za,rb,zb)
PURPOSE: Calculate mutual inductances and B-field Green functions
in Matlab. Fields are calculated at point b due to current at point a.
INPUT:
ra,za = (meters)
rb,zb = (meters)
Allows input of vectors of ra,za,rb,zb.
OUTPUT:
mut = mutual inductance between 2 loops at locations (ra,za), (rb,zb)
(Henries)
br = multiplier of current at pt(s) a to produce radial field at pt(s) b
(Tesla/Amp)
bz = multiplier of current at pt(s) a to produce vertical field at pt(s) b
(Tesla/Amp)
RESTRICTIONS:
If vector input, output corresponds to pairings of elements in sets a and b.
For example, mut is calculated between (ra(k),za(k)) and (rb(k),zb(k)), but
not between (ra(k),za(k)) and (rb(j),zb(j)) for j different from k.
Dependencies