da','L=0.5\lambda','L=0.7\lambda','L=0.9\lambda','L=1.1\lambda','L=1.3\lambda','L=1.5\lambda')holdonfigure(3)kk=1;forphi=0:pi/180:2*piforn=1:NFF(n)=II(n)*len*exp(i*k*len*n*cos(pi/2))*sin(pi/2);end;FFF(kk)=sum(FF);kk=kk+1;end;phi=0:pi/180:2*pi;polar(phi,FFF/max(abs(FFF)),string(ii));title('不同L/\lambdaH-planepattern,F({\theta},{\phi}),\theta=90');legend('L=0.1\lambda','L=0.3\lambda','L=0.5\lambda','L=0.7\lambda','L=0.9\lambda','L=1.1\lambda','L=1.3\lambda','L=1.5\lambda')holdonfigure(4)polar(phi,FFF/max((FFF)),string(ii));title('归一化H-planepattern,F({\theta},{\phi}),\theta=90');holdonfigure(5)mm=1;fortheta=0:0.01*pi:pi;forn=1:NE(1,n)=2*pi*c*u0*len/(4*pi*1)*(exp(-i*k*1)*exp(i*k*len*n*cos(theta))*sin(theta));endEE=E*II;G(mm)=(4*pi*1^2)/ata/abs(II((N-1)/2+1))^2/(-real(Zmn))*abs(EE)^2;mm=mm+1;end