Effacer les filtres
Effacer les filtres

Error "INDEX EXCEEDS MATRIX DIMENSION"

1 vue (au cours des 30 derniers jours)
Muthuraj V
Muthuraj V le 7 Mar 2012
Hi all,
what does this error indicate while woring with the blkproc() function in MATLAB
error is "INDEX EXCEEDS MATRIX DIMENSION"
Thanks
  1 commentaire
Andrei Bobrov
Andrei Bobrov le 7 Mar 2012
get your example

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Mar 2012
It means you tried to access an array at an index that is too large to fit in the array.
For example,
m = magic(4);
would be a 4 x 4 array, so (for example) m(2,3) and m(:,4) are valid indexes for m. But if I tried to index m(1,5) then I would be trying to access a column that does not exist in the array.
  1 commentaire
Muthuraj V
Muthuraj V le 7 Mar 2012
Thanks walter,
but can u plz explain me this with respect to block processing,,
Thanks,

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by