# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

# z2gamma

Convert impedance to reflection coefficient

## Syntax

```gamma = z2gamma(z) gamma = z2gamma(z,z0) ```

## Description

`gamma = z2gamma(z)` converts the impedance `z` to the reflection coefficient `gamma` using a reference impedance of 50 ohms.

`gamma = z2gamma(z,z0)` converts the impedance `z` to the reflection coefficient `gamma` using a reference impedance of `z0` ohms.

## Examples

collapse all

Convert an impedance of 100 ohms into a reflection coefficient, using a 50-ohm reference impedance

```z = 100; gamma = z2gamma(z) ```
```gamma = 0.3333 ```

## Algorithms

`z2gamma` calculates the coefficient using the equation

`$\Gamma =\frac{Z-{Z}_{0}}{Z+{Z}_{0}}$`