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.
%--------------- Line Source Parameters & Code ----------------
d = lambda/2;
length = N*d;
kk = 1;
sum = 0;
jj = 1;
[row, col] = size(m);
for ii = 1 : col
mm = m(ii);
yy = cos_theta_m(mm, lambda, length, samples);
zz=z_m(mm,d,samples);
sum = sum + (bm(jj)*exp(-j*k*zz*yy));
jj = jj + 1;
AF(kk) = sum;
kk = kk + 1;
end
kk
%---------------------------- Lets plot the results -----------
figure; grid; hold on;
plot(-M:M, abs(AF), 'r');
xlabel('source psition z');
ylabel('Normalized current');
title('current distribution for linear array');
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.