www.gusucode.com > rf 案例源码程序 matlab代码 > rf/PlotResultsOfRFChainObjectExample.m

    %% Plot Results of RF Chain Object
% Assign stage-by-stage values of gain, noise figure, OIP3 and stage names. 
g = [11 -3 7];
nf = [25 3 5];
oip3 = [30 Inf 10];
nm = {'amp1','filt1','lna1'};

%%
% Create an RF chain object.
rfch = rfchain(g,nf,oip3,'Name',nm);

%%
% Plot the results.
plot(rfch)