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

    %% Use Table to Display Link Budget of RF Cascade
% Construct a cascaded RFCKT object.
Cascaded_Ckt = rfckt.cascade('Ckts', ...
               {rfckt.txline('LineLength', .001), ...
               rfckt.amplifier, rfckt.txline( ...
               'LineLength', 0.025, 'PV', 2.0e8)})
           
%%
% Analyze the RF cascade in frequency domain at 2.1 GHz.
freq = 2.1e9;
analyze(Cascaded_Ckt,freq);

%%
% Plot the budget S21 and noise figure.
plot(Cascaded_Ckt,'budget','S21','NF');

%%
% Display the budget S21 and noise figure in a table. The table is
% displayed as an excel sheet once the user runs command in the
% MATLAB commandline.
table(Cascaded_Ckt,'budget','S21','NF')
%%
% 
% <<../table.png>>
% 
%%