in matlab what actually do you mean by the error index exceeds matrix dimensions ?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Azzi Abdelmalek
2014-11-29
编辑:Azzi Abdelmalek
2014-11-29
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!