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 Solvers81
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53497 Solvers
-
Project Euler: Problem 3, Largest prime factor
1819 Solvers
-
Find the sum of the elements in the "second" diagonal
1206 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Determine the number of odd integers in a vector
847 Solvers
More from this Author306
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!