Cody

Problem 532. Return unique values without sorting

If the input vector A is [42 1 1],

the output value B must be the unique values [42 1]

The values of B are in the same order as A

Solution Stats

58.18% Correct | 41.82% Incorrect
Last solution submitted on Nov 30, 2016

Problem Comments

Solution Comments

Tags

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