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

    %% Calculate noisefigure of RF chain
% 
%
%% Stage by stage values of Gain Noise Figure OIP3 and stage names

% Copyright 2015 The MathWorks, Inc.

g = [11 -3 7];
nf = [25 3 5];
o3 = [30 Inf 10];
nm = {'amp1','filt1','lna1'};
%% Create rfchain object
rfch = rfchain(g,nf,o3,'Name',nm);
%% Calculate noise figure
noisefig = cumnoisefig(rfch)