radiation pattern generation for 10 element array of point sources using electric field quation

3 次查看(过去 30 天)
please help in pattern generation for the given equation
i am attaching the file for the equation to be implemented and am pasting the code here which i have written. please correct my code i am not getting correct SLL for amplitude distribution. i am waiting from 2 months for this please help. please comment even if this code is correct for the given equation.
clc
clear
th=-90:0.01:90
u=sin(th)
N=10
E=0
for n=1:N
E1=0;
A=[-1 -2 -3 -4 -5 5 4 3 2 1]
for x=-1:0.01:1
E1=E1+(A(n)*exp(1j*pi*10*u.*x));
end
E=E+E1
end
M=max(E);
Y=abs(E);
E=Y./M;
Edb=20*log10(E);
plot(u,Edb)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Antennas, Microphones, and Sonar Transducers 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by