Search All of the Math Forum:

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Replies: 2   Last Post: Aug 28, 2013 12:48 AM

 Messages: [ Previous | Next ]
 Ashishkumar Mohanlal Patel Posts: 1 Registered: 8/28/13
Posted: Aug 28, 2013 12:48 AM

"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);

Date Subject Author
11/1/09 andrew yap
10/18/10 Sebnem
8/28/13 Ashishkumar Mohanlal Patel