Problem 61030. The MATLAB Treasure Hunt – Decode the First Clue Hidden in a Jumbled Sequence of Numbers
You discover an ancient parchment inside the college archives. It contains a jumbled sequence of numbers that seems meaningless — until you notice faint MATLAB-like symbols next to it!
Your first task is to decode the clue by arranging the numbers in ascending order. The smallest number might mark the beginning of the treasure trail.
Given a row vector a, return another vector b containing all elements of a sorted in increasing order.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
More from this Author22
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!