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 Solvers80
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2815 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2550 Solvers
-
1837 Solvers
-
Matlab Basics - Convert a row vector to a column vector
680 Solvers
-
Matlab Basics - y as a function of x
529 Solvers
More from this Author305
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!