The test suite is lacking (and wrong).
Fixed the first test and added a second one.
1344 Solvers
Matrix indexing with two vectors of indices
491 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
301 Solvers
194 Solvers
Finding an element in a vector
139 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!