Date: Nov 1, 2009 3:19 AM
Author: andrew yap
Subject: dipole 2D radiation pattern.

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