How can I implementation Array factor in matlab?

1 vue (au cours des 30 derniers jours)
ANIKET CHAUHAN
ANIKET CHAUHAN le 11 Oct 2019
Commenté : ANIKET CHAUHAN le 14 Oct 2019
How to implement array factor in Matlab?

Réponse acceptée

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 11 Oct 2019
Hi,
In your exercise, you can use [for .. end] or [while ... end] loops with two nested iteration loops.
Good luck.
  8 commentaires
ANIKET CHAUHAN
ANIKET CHAUHAN le 13 Oct 2019
[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 le 14 Oct 2019
is this changes are okay ?or i have to change indices again?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by