Changes
/* Running an AC Frequency Sweep to Compute Power Gain */
| i(iam1), i(iam2)
|}
<table>
<tr>
<td>
[[File:RF150RFTUT11_7.png|thumb|640px750px|The MESFET amplifier with microstrip matching networks at its graph of variation of input source current and outputload current as a function of frequency.]]
</td>
</tr>
</table>
Also define a custom output plot called "Power_Gain" for your amplifier using the same definition: G<sub>P</sub> = 20*log10(abs(i(am2)/i(am1))).
{| border="0"
|-
| valign="bottomtop"|[[File:RF153.png|thumb|900px|left|The graph of the power gain of the MESFET amplifier vs. frequency.]]
|-
{| class="wikitable"
|-
! scope="row"| Start Frequency
| 3G
|-
! scope="row"| Stop Frequency
| 5G
|-
! scope="row"| Steps/Interval
| 10Meg
|-
! scope="row"| Interval Type
| Linear
|-
! scope="row"| Preset Graph Plots
| Custom: Power_Gain
|}
The figure below shows the graph of power gain vs. frequency.
<table>
<tr>
<td>
[[File:RFTUT11_8.png|thumb|750px|The graph of the power gain of the MESFET amplifier vs. frequency.]]
</td>
</tr>
</table>
<p> </p>
[[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D#RF.Spice_A.2FD_Tutorial | Back to RF.Spice A/D Tutorial Gateway]]'''