How to calculate array factor in matlab

6 ビュー (過去 30 日間)
FARHA KHAN
FARHA KHAN 2021 年 12 月 23 日
編集済み: Walter Roberson 2021 年 12 月 24 日
I m trying to write matlab code for this expression.
Can anyone help me with this?
Thanks!!!!
  11 件のコメント
Rik
Rik 2021 年 12 月 23 日
You could also calculate alpha in your loop:
s=0;
for m=1:M
for n=1:N(m)
alpha=-K*r(m)*cos(phi0-phi(m,n));
tmp=K * r(m) * sin(theta) * cos(phi0-phi(m,n)) + alpha;
s=s + W(m) * exp(1j*tmp);
end
end
FARHA KHAN
FARHA KHAN 2021 年 12 月 24 日
yeah tq @Rik

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by