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.27% Correct | 51.73% Incorrect
Last Solution submitted on Mar 02, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers934

Suggested Problems

More from this Author30

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