Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: dipole 2D radiation pattern.
Replies: 2   Last Post: Aug 28, 2013 12:48 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ashishkumar Mohanlal Patel

Posts: 1
Registered: 8/28/13
Re: dipole 2D radiation pattern.
Posted: Aug 28, 2013 12:48 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"andrew yap " <andrew.c2g@hotmail.com> wrote in message <hcjg9n$8ho$1@fred.mathworks.com>...
> can anyone help me with this ? if kindly please give me solution for this. thank you so much. here is the matlab code i have written . it is a half wave dipole equation . and i tried to do it in matlab but the radiation pattern is wrong. instead.
>
> theta=0:0.01*pi:2*pi;
> f1=cos((pi/2)*cos(theta))./(sin(theta)+eps);
> polar(theta,f1)
>
> thanks


Following program is useful to plot 2D radiation pattern of Dipole antenna..


clear all
lam=1;
k=2*pi/lam;
L=lam/2; %L=length of monopole.
t=0:0.01:2*pi;


num=cos(k*L)-cos(k*L*cos(t));
den=sin(t);
e=abs(num./den);
deg=t*180/pi;



subplot(1,2,1);
polar(t,e);
subplot(1,2,2);
plot(deg,e);




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.