Given a vector column, with some very large numbers, create the ascending sort and unique vector.
Input: A (column vector)
Output: B (unique and ascending sorted column vector)
Examples: [5;4;3;2;2;1] outputs [1;2;3;4;5]
[9223372036854775808;9223372036854775806] outputs [9223372036854775806;9223372036854775808]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers78
Suggested Problems
-
Return the 3n+1 sequence for n
8488 Solvers
-
107 Solvers
-
Determine the number of odd integers in a vector
824 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
903 Solvers
-
792 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!