How can I implementation Array factor in matlab?

1 view (last 30 days)
How to implement array factor in Matlab?

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!