Remove Repetidos e Ordena - MATLAB Cody - MATLAB Central

Problem 55870. Remove Repetidos e Ordena

Difficulty:Rate
Dado um vetor A, remove todos os valores repetidos deixando apenas 1 valor, e ordene o vetor.
RemoveRepetidosEOrdena([1 1 2 3]) = [1 2 3];
RemoveRepetidosEOrdena([5 4 8 5 5 6 4 2]) = [2 4 5 6 8];

Solution Stats

86.44% Correct | 13.56% Incorrect
Last Solution submitted on Dec 08, 2024

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...
Dive Into Hands-On Learning at MATLAB EXPO 2025 – Register Now!
Get ready to roll up your sleeves at MATLAB EXPO 2025 –...
0

Problem Recent Solvers51

Suggested Problems

More from this Author20

Problem Tags

Community Treasure Hunt

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

Start Hunting!