주요 콘텐츠

rfchain.cumgain

Cascaded gain of the RF chain object

Description

g = cumgain(obj) returns the cascaded gain for each stage of the RF chain object obj.

example

Examples

collapse all

Assign stage-by-stage values of gain, noise figure, OIP3 and stage names.

g = [11 -3 7];
nf = [25 3 5];
o3 = [30 Inf 10];
nm = {'amp1','filt1','lna1'};

Create an RF chain object.

rfch = rfchain(g,nf,o3,'Name',nm);
%Calculate cascaded gain.
gain = cumgain(rfch)
gain = 1×3

    11     8    15

Input Arguments

collapse all

RF chain object, specified as an rfchain object.

Output Arguments

collapse all

Cascaded gain of the RF chain object, returned as a vector. The vector length is equal to the number of stages in the RF chain object.

Version History

Introduced in R2014b