Dipole antenna far-field pattern
91 views (last 30 days)
Show older comments
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...
1 Comment
Accepted Answer
David Goodmanson
on 22 May 2017
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.
More Answers (1)
Omkar Savkur
on 29 Jun 2021
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 Comments
See Also
Categories
Find more on Analysis, Benchmarking, and Verification 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!