How can I implementation Array factor in matlab?

1 回表示 (過去 30 日間)
ANIKET CHAUHAN
ANIKET CHAUHAN 2019 年 10 月 11 日
コメント済み: ANIKET CHAUHAN 2019 年 10 月 14 日
How to implement array factor in Matlab?

採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2019 年 10 月 11 日
Hi,
In your exercise, you can use [for .. end] or [while ... end] loops with two nested iteration loops.
Good luck.
  8 件のコメント
ANIKET CHAUHAN
ANIKET CHAUHAN 2019 年 10 月 13 日
[M,N] = size(phi) and phi(M,N) i have change this as [1,1] = size(phi) and inside the for loop phi(1,1)
but matlab shows an error "An array for multiple LHS assignment cannot contain M_NUMBER."
How can i assign value to [M,N] = size(phi) and phi(M,N) so my code works fine.
ANIKET CHAUHAN
ANIKET CHAUHAN 2019 年 10 月 14 日
is this changes are okay ?or i have to change indices again?

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by