Main Content

gammaml

Calculate load reflection coefficient of two-port network

Description

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

example

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

example

Examples

collapse all

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);

Define S-parameters object specified from a file.

s_params = sparameters('default.s2p');

Calculate the load reflection coefficient using the gammaml function.

coefficient = gammaml(s_params)
coefficient = 191×1 complex

  -0.0741 + 0.3216i
  -0.0751 + 0.3292i
  -0.0763 + 0.3365i
  -0.0776 + 0.3435i
  -0.0791 + 0.3502i
  -0.0807 + 0.3564i
  -0.0825 + 0.3619i
  -0.0843 + 0.3668i
  -0.0862 + 0.3709i
  -0.0882 + 0.3741i
      ⋮

Input Arguments

collapse all

Two-port S-parameters, specified as a complex 2-by-2-by-M array. M is the number of two-port S-parameters.

Data Types: double

Two-port network, specified as an S-parameter object.

Data Types: function_handle

Output Arguments

collapse all

Load reflection coefficient, returned as a M element complex vector.

Algorithms

The function calculates coefficient using the equation

ΓML=B2±B224|C22|2C2

where

B2=1|S112|+|S222||Δ2|C2=S22ΔS11*Δ=S11S22S12S21

Version History

Introduced before R2006a

See Also