Java Scrap Book  

Java Scrap Book > MATLAB > Dipole Antenna

Dipole Antenna

%For Length= 5*lambda/4
lambda=1;
n=377;
k=2*pi/lambda;
l=5*lambda/4;
I=0.1;
r=1000;
for i=1:100
t(i)=pi*(i-1)/99;
S(i)=n*((I^2)/(8*pi^2*r^2))*(((cos(k*l*cos(t(i))/2)-cos(k*l/2))/sin(t(i)))^2);
end
polar(t,S);
hold on
title('POWER DENSITY FOR l=5*lambda/4');
plot(t,S);
display('TOTAL POWER RADIATED');
P=(((k*l)^2)*n*I^2)/(12*pi)


%For Length = lambda/2
lambda=1;
n=377;
k=2*pi/lambda;
l=lambda/2;
I=0.1;
r=1000;
for i=1:100
t(i)=pi*(i-1)/99;
S(i)=n*((I^2)/(8*pi^2*r^2))*(((cos(k*l*cos(t(i))/2)-cos(k*l/2))/sin(t(i)))^2);
end
polar(t,S);
hold on
title('POWER DENSITY FOR l=lambda/2');
plot(t,S);
display('TOTAL POWER RADIATED');
P=(((k*l)^2)*n*I^2)/(12*pi)


Copyright © 2013-2018

javascrapbook.com is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: help@javascrapbook.com