⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gmatchs.m

📁 MATLAB无线网络的各种例子,相当全面
💻 M
字号:
% GMATCHS  Provides the gamma rod length in meters and the capacitor
%          value in pF for a gamma matching structure.
%
%	       [LG, C] = GMATCHS(L,A,D,F,ZD)
%
%          L is the dipole length, A is the dipole diameter and D is
%          the spacing  between  the dipole  and  the gamma rod. All 
%          dimensions  must  be given in meters and the  frequency F
%          in  MHz.  The desired  input  impedance  is  optional, if 
%          nothing  is  provided  the  default  value  of  50 Ohm is 
%          used. Finally, the rod diameter is assumed to be equal to
%          A.

% RFWave - The Radio Frequency Wave Toolbox
% Version: 1.2 16-Jul-2002
% Developed by A. C. de C. Lima 
% E-mail: acdcl@ufba.br
% Electrical Engineering Department
% Federal University of Bahia (UFBA)
% Brazil

function [lg,C] = gmatchs(l,a,d,f,zd)

if nargin < 5
    zd=50;
end

% Some initial parameters
lbd=300/f;
u=1;
v=d/a;
n=1;

% Two wired line impedance
zo=120*log(v);

% Dipole impedance 
ae=log(a*d)/2;
[ud,za,dd]=dipole(l/lbd,ae/lbd,0);

% Gamma rod length and capacitance for the series capacitor
lgn=0.001:0.001:0.25;
zt=j*zo*tan(2*pi*lgn);
zin=2*zt*za./(2*za+zt);
rin=real(zin);
xin=imag(zin);
[z,inx]=min(abs(rin-zd));
C=1e6/(2*pi*f*xin(inx));
lg=lgn(inx)*lbd;

⌨️ 快捷键说明

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