Hello, have built an array factor as shown nellow in the codes where the main expression is as shown bellow.
I want to design an array factor so i will have 26 dB between main lobe and side lobe. R=26dB=> R=20
I have 10 elements and R=20.
after finding certain u for m=9,how do i find the needed weights?
Thanks.
Where

Code:
AF=amp_vector(z)*exp(1i*(phase_vector(z)/180*pi))*exp(-1i*(z-1)*(k*d*sin(theta)+delta));
I have 10 elements and R=20.
after finding certain u for m=9,how do i find the needed weights?
Thanks.
Where

Code:
%binary
theta=linspace(-pi/2,pi/2,1000);
theta_0=pi*((0)/180);
f=10;
N=10;
lambda=300/f;
k=(2*pi)/lambda;
d=0.5*lambda;
total=0;
tot=0;
delta=k*d*sin(theta_0);
amp_vector=[1,9,36,84,126,126,84,36,9,1];
phase_vector=zeros(1,N);
for z=1:8
AF=amp_vector(z)*exp(1i*(phase_vector(z)/180*pi))*exp(-1i*(z-1)*(k*d*sin(theta)+delta));
total=total+AF;
end
plot((theta/pi)*180,log10(total/max(total)));