Check if sorted - MATLAB Cody - MATLAB Central

Problem 109. Check if sorted

Difficulty:Rate

Check if sorted.

Example:

 Input  x = [1 2 0]
 Output y is 0

Solution Stats

61.8% Correct | 38.2% Incorrect
Last Solution submitted on Jun 12, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers4436

Suggested Problems

More from this Author100

Problem Tags

Community Treasure Hunt

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

Start Hunting!