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.47% Correct | 51.53% Incorrect
Last Solution submitted on May 07, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Group

Indexing I Image
Indexing I
  • 27 Problems
  • 237 Finishers

Problem Recent Solvers946

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