# polratio

Ratio of vertical to horizontal linear polarization components of a field

## Syntax

``p = polratio(fv)``

## Description

example

````p = polratio(fv)` returns the ratio of the vertical to horizontal component of the field or set of fields contained in `fv`.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`.```

## Examples

collapse all

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 polarization ratio is real. Because the components have equal amplitudes, the polarization ratio is unity.

Compute the polarization ratios for two fields. The first field is (2;i) and the second is (i;1).

```fv = [2,1i;1i,1]; p = polratio(fv)```
```p = 1×2 complex 0.0000 + 0.5000i 0.0000 - 1.0000i ```

Determine the polarization ratio for a vertically polarized field (the horizontal component of the field vanishes).

```fv = [0;2]; p = polratio(fv)```
```p = Inf ```

The polarization ratio is infinite as expected from the definition,_Ev/Eh_.

## Input Arguments

collapse all

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

## Output Arguments

collapse all

Polarization ratio returned as a 1-by-N complex-valued row vector. `p` contains the ratio of the components of the second row of `fv` to the first row, `Ev/Eh`.

 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.