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

3 ビュー (過去 30 日間)
ramya k
ramya k 2021 年 6 月 7 日
編集済み: ramya k 2021 年 6 月 7 日
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 件のコメント
KSSV
KSSV 2021 年 6 月 7 日
Replace sin with sind, becuase angles are in degrees.
ramya k
ramya k 2021 年 6 月 7 日
sir/madam still getting same plot

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAntennas, 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