Index in position 2 exceeds array bounds (must not exceed 1
1 view (last 30 days)
Show older comments
HI may i ask why it says Index in position 2 exceeds array bounds (must not exceed 1? Thanks
0 Comments
Accepted Answer
Image Analyst
on 25 May 2022
Because A has only 1 column, not 2.
After you read this:
attach your data if you need anymore help. And attach your code as text. No one wants to type all that in just to help you when you already have it. We can't run images as code.
0 Comments
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!