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
2085 Solvers
-
Return unique values without sorting
1032 Solvers
-
construct matrix with identical rows
209 Solvers
-
234 Solvers
-
Matlab Basics - Logical Tests I
271 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!