How to returns combined data from a single vector with no repetitions?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mr M.
el 30 de Mzo. de 2015
Respondida: Mischa Kim
el 30 de Mzo. de 2015
The only way is union(A,A)? There is no function with single argument?
0 comentarios
Respuesta aceptada
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
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!