Error "INDEX EXCEEDS MATRIX DIMENSION"
11 次查看(过去 30 天)
显示 更早的评论
Hi all,
what does this error indicate while woring with the blkproc() function in MATLAB
error is "INDEX EXCEEDS MATRIX DIMENSION"
Thanks
采纳的回答
Walter Roberson
2012-3-7
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!