Ratio of vertical to horizontal linear polarization components of a field
Each column of fv contains the linear polarization components of a field in the form [Eh;Ev], where Eh and Ev are the field's linear horizontal and vertical polarization components. The expression of a field in terms of a two-row vector of linear polarization components is called the Jones vector formalism. The argument fv can refer to either the electric or magnetic part of an electromagnetic wave.
Each entry in p contains the ratio Ev/Eh of the components of fv.
Determine the polarization ratio for a linearly polarized field (when the horizontal and vertical components of a field have the same phase).
fv = [2 ; 2]; p = polratio(fv)
p = 1
The resulting polarization ratio is real. The components also have equal amplitudes so the polarization ratio is unity.
Pass two fields via a single matrix. The first field is [2;i], while the second is [i;1].
fv = [2 , i; i, 1]; p = polratio(fv)
p = 0 + 0.5000i 0 - 1.0000i
Determine the polarization ratio for a vertically polarized field (when the horizontal component of the field vanishes).
fv = [0 ; 2]; p = polratio(fv)
p = Inf
The polarization ratio is infinite as expected from Ev/Eh.
Field vector in linear component representation specified as a 2-by-N complex-valued matrix. Each column of fv contains an instance of a field specified by [Eh;Ev], where Eh and Ev are the field's linear horizontal and vertical polarization components. Two rows of the same column cannot both be zero.
Example: [2 , i; i, 1]
Data Types: double
Complex Number Support: Yes
 Mott, H., Antennas for Radar and Communications, John Wiley & Sons, 1992.
 Jackson, J.D. , Classical Electrodynamics, 3rd Edition, John Wiley & Sons, 1998, pp. 299–302
 Born, M. and E. Wolf, Principles of Optics, 7th Edition, Cambridge: Cambridge University Press, 1999, pp 25–32.