Dipole antenna far-field pattern
91 次查看(过去 30 天)
显示 更早的评论
I need to plot the radiation pattern for a dipole antenna of length L=lambda/2. The example plot given was of L=1.4*lambda.
Example plot of L=1.4*lambda:
My code to try and reproduce the plot for L=1.4*lambda:
%Wavelength
lam = 1;
%Dipole antanna
L = 1.4*lam;
%Phase constant
B = 2*pi/lam;
t = 0:0.01:2*pi;
% Far-field pattern equation
E = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t));
figure()
polar(t,E)
Plot from this code:
I can't figure out where I'm going wrong with this one...
采纳的回答
David Goodmanson
2017-5-22
Hi Vinci, power is proportional to the square of the electric field, so if you use
E2 = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t)).^2;
figure()
polar(t,E2)
the correct figure should pop up.
更多回答(1 个)
Omkar Savkur
2021-6-29
Hi Vinci, building off David's answer, you can use the polarpattern function to help plot the radiation power. You can interact with the plot and specify the plot parameters all in one line.
% Wavelength
lam = 1;
% Dipole antanna
L = 1.4*lam;
% Phase constant
B = 2*pi/lam;
% Angle in degrees
t = 0:0.1:360;
% Far-field pattern equation
E = abs((cos(B*L/2*cosd(t))-cos(B*L/2))./sind(t)).^2;
figure(1)
polarpattern(t,E,'AngleResolution',30)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analysis, Benchmarking, and Verification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!