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.

powergain

Power gain of 2-port network

Syntax

g = powergain(s_params,z0,zs,zl,'Gt')
g = powergain(s_params,z0,zs,'Ga')
g = powergain(s_params,z0,zl,'Gp')
g = powergain(s_params,'Gmag')
g = powergain(s_params,'Gmsg')
g = powergain(hs,zs,zl,'Gt')
g = powergain(hs,zs,'Ga')
g = powergain(hs,zl,'Gp')
g = powergain(hs,'Gmag')
g = powergain(hs,'Gmsg')

Description

g = powergain(s_params,z0,zs,zl,'Gt') calculates the transducer power gain of the 2-port network s_params.

g = powergain(s_params,z0,zs,'Ga') calculates the available power gain of the 2-port network.

g = powergain(s_params,z0,zl,'Gp') calculates the operating power gain of the 2-port network.

g = powergain(s_params,'Gmag') calculates the maximum available power gain of the 2-port network.

g = powergain(s_params,'Gmsg') calculates the maximum stable gain of the 2-port network.

g = powergain(hs,zs,zl,'Gt') calculates the transducer power gain of the network represented by the S-parameter object hs.

g = powergain(hs,zs,'Ga') calculates the available power gain of the network represented by the S-parameter object hs.

g = powergain(hs,zl,'Gp') calculates the operating power gain of the network represented by the S-parameter object hs.

g = powergain(hs,'Gmag') calculates the maximum available power gain of the network represented by the S-parameter object hs.

g = powergain(hs,'Gmsg') calculates the maximum stable gain of the network represented by the S-parameter object hs.

Input Arguments

collapse all

2-port S-parameters, specified as an RF Toolbox™ S-parameter object.

2-port S-parameters, specified as a complex 2-by-2-by-N array.

Reference impedance in ohms, specified as a positive scalar. If the first input argument is an S-parameter object hs, the function uses hs.Impedance for the reference impedance.

Load impedance in ohms, specified as a positive scalar.

Source impedance in ohms, specified as a positive scalar.

Output Arguments

collapse all

Unitless power gain values, returned as a vector. To obtain power gain in decibels, use 10*log10(g).

If the specified type of power gain is undefined for one or more of the specified S-parameter values in s_params, the powergain function returns NaN. As a result, g is either NaN or a vector that contains one or more NaN entries.

Examples

collapse all

Calculate power gains for a sample 2-port network.

s11 = 0.61*exp(j*165/180*pi);
s21 = 3.72*exp(j*59/180*pi);
s12 = 0.05*exp(j*42/180*pi);
s22 = 0.45*exp(j*(-48/180)*pi);
sparam = [s11 s12; s21 s22];
z0 = 50;
zs = 10 + j*20;
zl = 30 - j*40;

Calculate the transducer power gain of the network

Gt = powergain(sparam,z0,zs,zl,'Gt')
Gt =

    4.7066

Calculate the available power gain of the network

Ga = powergain(sparam,z0,zs,'Ga')
Ga =

   11.4361

Calculate the operating power gain of the network

Gp = powergain(sparam,z0,zl,'Gp')
Gp =

   10.5098

Calculate the maximum available power gain of the network

Gmag = powergain(sparam,'Gmag')
Gmag =

   41.5032

Calculate the maximum stable power gain of the network

Gmsg = powergain(sparam,'Gmsg')
Gmsg =

   74.4000

See Also

Introduced in R2007b

Was this topic helpful?