How to remove repeat entities in a matlab array
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have an array with 17 values within it, I have only one number than appears twice, i want the new identity to have 16 values in it, only including this perticular repeat value only once in the new identity
Respuestas (1)
James Tursa
el 10 de Nov. de 2020
Editada: James Tursa
el 10 de Nov. de 2020
unique(your_variable)
or
unique(your_variable,'stable')
9 comentarios
Ver también
Categorías
Más información sobre Particle & Nuclear Physics 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!