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)
2 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!