Sort without duplicate

58 visualizaciones (últimos 30 días)
Ieva
Ieva el 16 de Mzo. de 2012
Hi,
I want to sort a vector leaving only unique values.
For example, if I have:
1
2
2
3
4
4
5
I want to get
1
2
3
4
5
Could anybody help me to solve this?

Respuesta aceptada

Aurelien Queffurust
Aurelien Queffurust el 16 de Mzo. de 2012
doc unique
The unique function find unique elements of vector
  1 comentario
Ieva
Ieva el 16 de Mzo. de 2012
Great, thank you for help! :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by