gp_circle()
Generates a power gain circle
Syntax
y = gp_circle(S, gain, numOfPts, numCircles, gainStep)
Arguments
Name | Description | Range | Type | Default | Required |
---|---|---|---|---|---|
S | scattering matrix of a 2-port network. | (-∞, ∞) | complex | yes | |
gain | specified gain in dB | [0, ∞) | integer or real array | † | no |
numOfPts | desired number of points per circle | [1, ∞) | integer | 51 | no |
numCircles | number of desired circles. This is used if gain is not specified. | [0, ∞) | integer | no | |
gainStep | gain step size. This is used if gain is not specified. | [0, ∞) | integer or real | 1.0 | no |
† Default value for gain is min(max_gain(S)) - {1, 2, 3} |
Examples
circleData = gp_circle(S, 2, 51)
circleData = gp_circle(S, {2, 3, 4}, 51)
return the points on the circle(s)
circleData = gp_circle(S, , 51, 5, 0.5)
return the points on the circle(s) for 5 circles at maxGain - {0,0.5,1.0,1.5,2.0}
circleData = gp_circle(S, , , 2, 1.0)
return the points on the circle(s) for 2 circles at maxGain - {0,1.0}
Defined in
$HPEESOF_DIR/expressions/ael/circle_fun.ael
See Also
ga_circle(), gl_circle(), gs_circle()
Notes/Equations
Used in Small-signal S-parameter simulations.
This function generates a constant-power-gain circle resulting from a load mismatch. The circle is defined by the loci of the output-reflection coefficients that result in the specified gain.
A gain circle is created for each value of the swept variable(s). Multiple gain values can be specified for a scattering parameter that has dimension less than four. This measurement is supported for 2-port networks only.
If gain and numCircles are not specified, gain circles are drawn at min(max_gain(S)) - {0,1,2,3}. That is, gains are calculated at a loss of 0,1,2,3 dB from the maximum gain. If gain is not specified and numCircles is given, then numCircles gain circles are drawn at gainStep below max_gain(). Gain is also limited by max_gain(S). That is, if gain > max_gain(S), then the circle is generated at max_gain(S)).
Where:
Privacy Statement | Terms of Use | Legal | Contact Us | © Agilent 2000-2008