Detection of objects
Show older comments
Subscript indices must either be real positive integers or logicals
Accepted Answer
More Answers (1)
Vieniava
on 4 Feb 2011
0 votes
in Matlab vector/matrix indexing starts from 1, not from 0, so you should change for-loop starting value on 1 .
1 Comment
jyothsna chennareddy
on 4 Feb 2011
Categories
Find more on Matrix Indexing 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!