Index in position 2 exceeds array bounds (must not exceed 1

1 view (last 30 days)
HI may i ask why it says Index in position 2 exceeds array bounds (must not exceed 1? Thanks

Accepted Answer

Image Analyst
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!