Problem 43106. Second smallest number
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 commentsProblem Recent Solvers76
Suggested Problems
-
Return a list sorted by number of occurrences
2842 Solvers
-
Check if number exists in vector
13213 Solvers
-
Replace multiples of 5 with NaN
454 Solvers
-
172 Solvers
-
206 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!