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

조회 수: 12 (최근 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