How to returns combined data from a single vector with no repetitions?

1 visualización (últimos 30 días)
The only way is union(A,A)? There is no function with single argument?

Respuesta aceptada

Mischa Kim
Mischa Kim el 30 de Mzo. de 2015
Not quite sure what you are trying to do. Do you mean:
A = [1 2 2 3 3 3];
B = unique(A)
B =
1 2 3

Más respuestas (0)

Categorías

Más información sobre App Building en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by