Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

assignment of antenna in matlab

Status
Not open for further replies.

khaldoon99

Member level 1
Joined
Dec 13, 2005
Messages
39
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
Sweden
Activity points
1,554
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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top