How to remove repeat entities in a matlab array
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
Réponses (1)
James Tursa
le 10 Nov 2020
Modifié(e) : James Tursa
le 10 Nov 2020
unique(your_variable)
or
unique(your_variable,'stable')
9 commentaires
Voir également
Catégories
En savoir plus sur Particle & Nuclear Physics dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!