Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how to write this equation in matlab ?? Please help
2 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157860/image.png)
回答 (1 件)
Javier Bastante
2016 年 3 月 16 日
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
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!