polarization ellipse parameters
[a,b,th] = ellipse(A,B,phi)
magnitude of E-field x-component
magnitude of E-field y-component
relative phase angle (in degrees) between x- and y-components (phi = phi_a - phi_b)
x-semiaxis
y-semiaxis
tilt angle (in degrees) of polarization ellipse measured from x-axis
ellipse(A,B,phi) calculates polarization ellipse parameters
A = [3, 3, 4, 3, 4, 3, 4, 3]’; B = [0, 4, 3, 3, 3, 4, 3, 4]’; phi = [-90, 0, 180, 60, 45, -45, 135, -135]’; [a,b,th] = ellipse(A,B,phi)