Borrar filtros
Borrar filtros

Index exceeds matrix dimensions

1 visualización (últimos 30 días)
Ahmed Hassaan
Ahmed Hassaan el 29 de Abr. de 2012
I dont Understand this error , i traced all the code and didnt find a reason for that , thanks :)
??? Index exceeds matrix dimensions.
Error in ==> Hassaan at 314
[r c]=size(GREEN{1,i});

Respuesta aceptada

the cyclist
the cyclist el 29 de Abr. de 2012
Type
dbstop if error
before you run your code, and it should halt at this line when the error message is thrown. Then you can look at the values of your variables. Presumably, the value of i is such that it is trying to access an element of the variable GREEN that is beyond the bounds of the array.

Más respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by