Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

gammams

Source reflection coefficient of 2-port network

Syntax

coefficient = gammams(s_params)
coefficient = gammams(hs)

Description

coefficient = gammams(s_params) calculates the source 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. coefficient is an M-element complex vector.

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

Examples

collapse all

Calculate the source reflection coefficient using network data from a file.

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

  -0.7247 + 0.4813i
  -0.7324 + 0.4723i
  -0.7401 + 0.4632i
  -0.7478 + 0.4541i
  -0.7554 + 0.4449i
  -0.7630 + 0.4357i
  -0.7704 + 0.4264i
  -0.7778 + 0.4170i
  -0.7850 + 0.4075i
  -0.7921 + 0.3980i
  -0.7990 + 0.3883i
  -0.8058 + 0.3785i
  -0.8126 + 0.3687i
  -0.8194 + 0.3589i
  -0.8260 + 0.3491i
  -0.8325 + 0.3392i
  -0.8389 + 0.3292i
  -0.8450 + 0.3191i
  -0.8509 + 0.3090i
  -0.8565 + 0.2987i
  -0.8619 + 0.2884i
  -0.8668 + 0.2779i
  -0.8714 + 0.2673i
  -0.8756 + 0.2567i
  -0.8795 + 0.2461i
  -0.8833 + 0.2354i
  -0.8869 + 0.2246i
  -0.8904 + 0.2139i
  -0.8939 + 0.2031i
  -0.8975 + 0.1923i
  -0.9012 + 0.1815i
  -0.9052 + 0.1708i
  -0.9093 + 0.1601i
  -0.9135 + 0.1494i
  -0.9177 + 0.1387i
  -0.9219 + 0.1280i
  -0.9259 + 0.1172i
  -0.9296 + 0.1063i
  -0.9330 + 0.0953i
  -0.9359 + 0.0841i
  -0.9383 + 0.0728i
  -0.9401 + 0.0614i
  -0.9413 + 0.0500i
  -0.9420 + 0.0386i
  -0.9423 + 0.0273i
  -0.9423 + 0.0159i
  -0.9421 + 0.0044i
  -0.9419 - 0.0071i
  -0.9416 - 0.0186i
  -0.9414 - 0.0302i
  -0.9414 - 0.0420i
  -0.9417 - 0.0538i
  -0.9420 - 0.0657i
  -0.9423 - 0.0775i
  -0.9426 - 0.0895i
  -0.9429 - 0.1015i
  -0.9432 - 0.1137i
  -0.9432 - 0.1260i
  -0.9431 - 0.1384i
  -0.9428 - 0.1510i
  -0.9423 - 0.1638i
  -0.9416 - 0.1768i
  -0.9409 - 0.1898i
  -0.9401 - 0.2029i
  -0.9393 - 0.2162i
  -0.9383 - 0.2296i
  -0.9371 - 0.2433i
  -0.9357 - 0.2572i
  -0.9340 - 0.2714i
  -0.9321 - 0.2861i
  -0.9301 - 0.3012i
  -0.9298 - 0.3175i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
      NaN + 0.0000i
  -0.8771 + 0.3687i
  -0.8489 + 0.2834i
  -0.8525 + 0.2252i
  -0.8686 + 0.1839i
  -0.8856 + 0.1507i
  -0.8942 + 0.1179i
  -0.8966 + 0.0861i
  -0.8955 + 0.0557i
  -0.8928 + 0.0270i
  -0.8897 + 0.0000i
  -0.8870 - 0.0253i
  -0.8854 - 0.0491i
  -0.8854 - 0.0711i
  -0.8875 - 0.0916i
  -0.8907 - 0.1107i
  -0.8932 - 0.1289i
  -0.8951 - 0.1463i
  -0.8963 - 0.1630i
  -0.8968 - 0.1791i
  -0.8966 - 0.1947i
  -0.8957 - 0.2097i
  -0.8942 - 0.2244i
  -0.8922 - 0.2387i
  -0.8897 - 0.2526i
  -0.8865 - 0.2660i
  -0.8825 - 0.2788i
  -0.8780 - 0.2911i
  -0.8733 - 0.3030i
  -0.8686 - 0.3145i
  -0.8641 - 0.3257i
  -0.8599 - 0.3366i
  -0.8559 - 0.3473i
  -0.8523 - 0.3577i
  -0.8490 - 0.3681i
  -0.8459 - 0.3782i
  -0.8426 - 0.3880i
  -0.8392 - 0.3975i
  -0.8357 - 0.4068i
  -0.8321 - 0.4158i
  -0.8285 - 0.4247i
  -0.8248 - 0.4334i
  -0.8211 - 0.4420i
  -0.8174 - 0.4505i
  -0.8138 - 0.4589i
  -0.8101 - 0.4673i
  -0.8065 - 0.4754i
  -0.8027 - 0.4835i
  -0.7990 - 0.4913i
  -0.7953 - 0.4991i
  -0.7915 - 0.5068i
  -0.7877 - 0.5143i
  -0.7839 - 0.5218i
  -0.7800 - 0.5292i
  -0.7762 - 0.5365i
  -0.7723 - 0.5438i
  -0.7684 - 0.5510i
  -0.7645 - 0.5581i
  -0.7605 - 0.5651i
  -0.7566 - 0.5720i
  -0.7526 - 0.5788i
  -0.7485 - 0.5855i
  -0.7445 - 0.5922i
  -0.7404 - 0.5988i
  -0.7364 - 0.6052i

Algorithms

The function calculates coefficient using the equation

ΓMS=B1±B124|C12|2C1

where

B1=1+|S112||S222||Δ2|C1=S11ΔS22*Δ=S11S22S12S21

Introduced in R2008a

Was this topic helpful?