%Wavelength lambda = 1; %Dipole antanna L = (1/4)*lambda; %Phase constant B = 2*pi/lambda; t = 0:0.01:2*pi; % Far-field pattern equation E = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t)); %subplot(3,2,1) % figure() polar(t,E) hold on
L=(1/3)*lambda; E = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t)); %subplot(3,2,2) % figure() polar(t,E) hold on
L=(1/2)*lambda; E = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t)); %subplot(3,2,3) % figure() polar(t,E) hold on
L=(1)*lambda; E = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t)); %subplot(3,2,4) % figure() polar(t,E) hold on
L=(3/2)*lambda; E = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t)); %subplot(3,2,5) % figure() polar(t,E) hold on
L=(2)*lambda; E = abs((cos(B*L/2*cos(t))-cos(B*L/2))./sin(t)); %subplot(3,2,6) % figure() polar(t,E) hold on
%I have done this but plot is horrible.
Best Answer