in matlab what actually do you mean by the error index exceeds matrix dimensions ?
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Azzi Abdelmalek
on 29 Nov 2014
Edited: Azzi Abdelmalek
on 29 Nov 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.
0 Comments
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!