error plotting smithchart by MATLAB manual
Show older comments
Hello i am trying to follow the steps in this manual
when i follow the instructions as shown in the code bellow for plotting smithchart:
i get the following error
******************************************************************************
Error using rfdata.data/circle>check_nf_value (line 285)
Constant noise figure circles can be drawn only when
the specified object contains spot noise data.
Error in rfdata.data/circle (line 134)
check_nf_value(varargin{kk+1}, nfmin);
Error in rfckt.rfckt/circle (line 52)
[hlines, hsm] = circle(data, varargin{:});
Error in smith (line 4)
circle(unmatched_amp,fc,'Stab','In','Stab','Out','Ga',10:2:20,'NF',1.8:0.2:3,hsm);
*******************************************************************************************************
unmatched_amp = read(rfckt.amplifier, 'spp5.s2p');
fc = 5.2e9;
hsm = smithplot;
circle(unmatched_amp,fc,'Stab','In','Stab','Out','Ga',10:2:20,'NF',1.8:0.2:3,hsm);
legend('Location','SouthEast')
Answers (0)
Categories
Find more on Visualization and Data Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!