fig3_13.m

来自「射频电路设计:理论与应用:theory and applications 全部源」· M 代码 · 共 37 行

M
37
字号
%
%   This file generates the plot shown in Figure 3-13
% 
%   Copyright (c) 1999 by P.Bretchko and R.Ludwig
%   "RF Circuit Design: Theory and Practice"
%

close all; % close all opened graphs
figure;    % open new graph
smith_chart;

Z0=50;     % define 50 Ohm characteristic impedance

% define values of normalized conductance 
g=[0.3 0.5 0.7 1];

L=10e-9; % set inductance value to 10nH

% define frequency range
fmin=0.5e9; % minimum frequency (500MHz) 
fmax=4e9;   % maximum frequency (4GHz)

% compute normalized susceptance of the inductor  
bmin=Z0/(j*2*pi*fmin*L) % at minimum frequency
bmax=Z0/(j*2*pi*fmax*L) % and at maximum frequency

% for each value of normalized conductance
for n=1:length(g)
   % plot corresponding arc on the constant conductance circle
   s_ArcG(g(n)/Z0,imag(bmin/Z0),imag(bmax/Z0));
end;

text(-0.72,0.65,'{\bff=500MHz}');
text(0.2,0.15,'{\bff=4GHz}');

% print -deps 'fig3_13.eps' % if uncommented -> saves a copy of plot in EPS format

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?