Problem 1991. Find the index of nth maximum of a row vector of real numbers
Solution Stats
Problem Comments
-
1 Comment
Apologies.Test case 8 is corrected now.
Solution Comments
-
2 Comments
in test 8 I believe it should read either "n=3" or "y_correct=2" (the second highest value is 4.5, not pi)...
I agree...
Problem Recent Solvers43
Suggested Problems
-
Program an exclusive OR operation with logical operators
664 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
714 Solvers
-
295 Solvers
-
Sum of diagonals elements of a matrix
185 Solvers
-
Back to basics - mean of corner elements of a matrix
331 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!