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

1 visualización (últimos 30 días)
HI may i ask why it says Index in position 2 exceeds array bounds (must not exceed 1? Thanks

Respuesta aceptada

Image Analyst
Image Analyst el 25 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by