Problem 925. Unique - Very Very Large Numbers
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 commentsProblem Recent Solvers76
Suggested Problems
-
8966 Solvers
-
199 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
820 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
599 Solvers
-
513 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!