What is the second smallest number in x?
example: x = [1 2 3 4 5 6 7 8 9] y = 2
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers80
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2082 Solvers
-
Back to basics 4 - Search Path
383 Solvers
-
909 Solvers
-
Sum of first n positive integers
633 Solvers
-
561 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!