Borrar filtros
Borrar filtros

in matlab what actually do you mean by the error index exceeds matrix dimensions ?

1 visualización (últimos 30 días)
while implementing matlab program i got this error
index exceeds matrix dimensions
what is the basic meaning of this error ......
are the index dimensions being exceeded

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 29 de Nov. de 2014
Editada: Azzi Abdelmalek el 29 de Nov. de 2014
For example if you have an array a containing 3 elements
a=[1 2 3]
If you write
a(4)
a does not contain 4 elements, you will get this message
Index exceeds matrix dimensions.

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by