Finding Of Same Values in Matrix
Mostrar comentarios más antiguos
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..
Respuesta aceptada
Más respuestas (1)
Andrei Bobrov
el 6 de Dic. de 2015
a - your array;
b = unique(a);
[~,idx] = ismember(a,b);
1 comentario
Volkan Yangin
el 6 de Dic. de 2015
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!