Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: dipole 2D radiation pattern.
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);



