Accelerating the pace of engineering and science

# gammaml

Load reflection coefficient of 2-port network

## Syntax

coefficient = gammaml(s_params)
coefficient = gammaml(hs)

## Description

coefficient = gammaml(s_params) calculates the load reflection coefficient of a 2-port network required for simultaneous conjugate match.

s_params is a complex 2-by-2-by-M array, representing M 2-port S-parameters, Sij. coefficient is an M-element complex vector.

coefficient = gammaml(hs) calculates the load reflection coefficient of the 2-port network represented by the S-parameter object hs.

## Examples

Calculate the load reflection coefficient using network data from a file:

```  ckt = read(rfckt.amplifier,'default.s2p');
s_params = ckt.NetworkData.Data;
coefficient = gammaml(s_params);```

expand all

### Algorithms

The function calculates coefficient using the equation

${\Gamma }_{ML}=\frac{{B}_{2}±\sqrt{{B}_{2}{}^{2}-4|{C}_{2}{}^{2}|}}{2{C}_{2}}$

where

$\begin{array}{c}{B}_{2}=1-|{S}_{11}{}^{2}|+|{S}_{22}{}^{2}|-|{\Delta }^{2}|\\ {C}_{2}={S}_{22}-\Delta \cdot {S}_{11}^{*}\\ \Delta ={S}_{11}{S}_{22}-{S}_{12}{S}_{21}\end{array}$