how to resolve the error index exceeds matrix dimensions
1 view (last 30 days)
Show older comments
SIBI SIVA on 3 Oct 2016
Commented: SIBI SIVA on 16 Oct 2016
Walter Roberson on 3 Oct 2016
If subplot() is an array, then
is at best a waste of time, as that would extract a portion of the array and then throw the extracted value away because of the semi-colon. If the array had a third dimension smaller than 29, you would get an error about the index exceeding the dimension.
If subplot() is the MATLAB plotting function, then passing a colon to it is not valid.
More Answers (0)
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!