If
x = [2 6 4 9 10 3 1 5 1]
the the output should be 7, because the first minimum value (1) lies at the 7th position.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers185
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15797 Solvers
-
7450 Solvers
-
Matrix indexing with two vectors of indices
780 Solvers
-
209 Solvers
-
Replace every 3rd element in a vector with 4
267 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!