Dipole antenna far-field pattern
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
neil whitesell
on 1 Dec 2020
is ther i version of this with a current input???
Accepted Answer
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)
Categories
Find more on Antennas and Electromagnetic Propagation 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!