khaldoon99
Member level 1
Hi All,
i have a project for finding the amplitude and distances of an 7-elements array with a 20 dB side lobe level.
i have the basic code in matlab and i need to determine the assignment of antenna.
i choose 3GHz as the work frequency and i use the momentem method.
function ff1=patterns(lambda)
% Mr: number of MBFs per antenna
a=0.0002; % wire radius
l=0.05; % length of antenna
f=0.30/lambda; % frequency
M=21; % number of basis functions per antenna
Zl=0; % termination impedance
N=7; % number of antennas
d=0.03; % spacing between elements
[ii1,Ztot]=wiremom_finite(a,l,f,M,Zl,N,d); % brute-force solution for all currents
k=2*pi/lambda; % wavenumber
x=[0:N-1]*d; % positions of antennas
theta=[0:200]'/200*2*pi; % angles in azimuth plane
ff1=[];
for nn=1:N %
ii2=ii1,nn); % currents for excitation at port N
ii2=reshape(ii2,M,N); % one column for each antenna
ii2=sum(ii2); % sum of currents per antenna
ff=exp(j*cos(theta)*k*x)*ii2.'; % sum of current*phase_factor
polar(theta,abs(ff))
ff1=[ff1,ff];
%set(gca,'dataaspectratio',[1 1 1])
pause
%hold off
end
thx
i have a project for finding the amplitude and distances of an 7-elements array with a 20 dB side lobe level.
i have the basic code in matlab and i need to determine the assignment of antenna.
i choose 3GHz as the work frequency and i use the momentem method.
function ff1=patterns(lambda)
% Mr: number of MBFs per antenna
a=0.0002; % wire radius
l=0.05; % length of antenna
f=0.30/lambda; % frequency
M=21; % number of basis functions per antenna
Zl=0; % termination impedance
N=7; % number of antennas
d=0.03; % spacing between elements
[ii1,Ztot]=wiremom_finite(a,l,f,M,Zl,N,d); % brute-force solution for all currents
k=2*pi/lambda; % wavenumber
x=[0:N-1]*d; % positions of antennas
theta=[0:200]'/200*2*pi; % angles in azimuth plane
ff1=[];
for nn=1:N %
ii2=ii1,nn); % currents for excitation at port N
ii2=reshape(ii2,M,N); % one column for each antenna
ii2=sum(ii2); % sum of currents per antenna
ff=exp(j*cos(theta)*k*x)*ii2.'; % sum of current*phase_factor
polar(theta,abs(ff))
ff1=[ff1,ff];
%set(gca,'dataaspectratio',[1 1 1])
pause
%hold off
end
thx