Skip to content

mpolygon2polygon.m

Basic Information

  SYNTAX:  [M, Mr, Mz] = mpolygon2polygon(ra, za, rb, zb)

  PURPOSE:  Calculate mutual inductances between coaxial loops A & B
            The cross sections of the loops are polygons

  INPUTS: ra, za = coordinates for the corners of polygon A [m]
          rb, zb = coordinates for the corners of polygon B [m]

  OUTPUTS: M = mutual inductance between loops [H]
           Mr, Mz, derivatives of M w.r.t. rigid shifts of ra and za

  RESTRICTIONS: Assumes uniform current distribution across both polygons

Dependencies