How to calculate array factor in matlab

5 Ansichten (letzte 30 Tage)
FARHA KHAN
FARHA KHAN am 23 Dez. 2021
Bearbeitet: Walter Roberson am 24 Dez. 2021
I m trying to write matlab code for this expression.
Can anyone help me with this?
Thanks!!!!
  11 Kommentare
Rik
Rik am 23 Dez. 2021
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 am 24 Dez. 2021
yeah tq @Rik

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Manage Products finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by