Second smallest number - MATLAB Cody - MATLAB Central

Problem 43106. Second smallest number

Difficulty:Rate

What is the second smallest number in x?

example: x = [1 2 3 4 5 6 7 8 9] y = 2

Solution Stats

86.32% Correct | 13.68% Incorrect
Last Solution submitted on Jul 19, 2025

Solution Comments

Show comments

Problem Recent Solvers76

Suggested Problems

More from this Author25

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!