Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

how to write this equation in matlab ?? Please help

1 visualizzazione (ultimi 30 giorni)
viswanadh raviteja
viswanadh raviteja il 15 Mar 2016
Chiuso: MATLAB Answer Bot il 20 Ago 2021
  1 Commento
Explorer
Explorer il 15 Mar 2016
Modificato: Explorer il 15 Mar 2016
Have you attempted to code it yourself? If yes, please upload your code.

Risposte (1)

Javier Bastante
Javier Bastante il 16 Mar 2016
Once defined N,A,kr1,theta,fi1,FI,B,kr2 and fi2, run this code:
AF=0;
for n=1:N;
AF=AF+(A(n)*exp(j*kr1*sin(theta)*(cos(fi1(n))*cos(FI)+sin(fi1(n))*sin(FI)))+B(n)*exp(j*kr2*sin(theta)*(cos(fi2(n))*cos(FI)+sin(fi2(n))*sin(FI))));
end;
AF
Hope it works. Regards

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by