Problem 1921. Find the position of last minimum value in an integer array with numbers
If
x = [2 6 4 9 -10 3 1 5 -10]
then the output should be 9, because last minimum value (-10) lies at the 9th position.
Solution Stats
Problem Comments
-
3 Comments
Sean de Wolski
on 8 Oct 2013
The second test is wrong. 4 is not < 1.
Jon
on 8 Oct 2013
The example seems to be wrong as well. The output should be 9 (as stated in test 1 which uses the same vector), not 7.
Awadhesh Srivastava
on 9 Oct 2013
thanks Sean and Jon for comment on problem, I have corrected the same.
Solution Comments
Show commentsProblem Recent Solvers87
Suggested Problems
-
Remove any row in which a NaN appears
8762 Solvers
-
Getting the indices from a vector
11710 Solvers
-
271 Solvers
-
calculate linear convolution two vectors
142 Solvers
-
Determine if input is divisible by three.
239 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!