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
-
7498 Solvers
-
4868 Solvers
-
Make a run-length companion vector
662 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
895 Solvers
-
214 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!