Return unique values without sorting - MATLAB Cody - MATLAB Central

Problem 532. Return unique values without sorting

Difficulty:Rate
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

48.29% Correct | 51.71% Incorrect
Last Solution submitted on Mar 07, 2025

Problem Comments

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Group

Indexing I Image
Indexing I
  • 27 Problems
  • 236 Finishers

Problem Recent Solvers935

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page