Finding Of Same Values in Matrix
Afficher commentaires plus anciens
Hi everbody
I have a matrix includes 1724 values, i want to find which elements are same in this matrix (For ex. 25. and 426. values are same etc.)
How can i make this?
Thanks..
Réponse acceptée
Plus de réponses (1)
Andrei Bobrov
le 6 Déc 2015
a - your array;
b = unique(a);
[~,idx] = ismember(a,b);
1 commentaire
Volkan Yangin
le 6 Déc 2015
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!