Index exceeds the number of array elements (1).
2 views (last 30 days)
Show older comments
Safwana Razak
on 8 May 2019
Edited: Safwana Razak
on 8 May 2019
Hi,
please help me regarding this error.
_______________________________________________________________________
Index exceeds the number of array elements (1).
_________________________________________________________________________
here the main code,
Thank you.
3 Comments
Walter Roberson
on 8 May 2019
I deleted the code attachment. simRandPack is code that is part of a textbook by Gregory Plett, and a corsora (paid) course, not code that you have a license to post.
Accepted Answer
Walter Roberson
on 8 May 2019
Your final parameter should not be [111111]: it should be [1 1 1 1 1 1]
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!