Cody

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

39.62% Correct | 60.38% Incorrect
Last solution submitted on Oct 25, 2015
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more