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
2056 Solvers
-
12603 Solvers
-
856 Solvers
-
716 Solvers
-
358 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!