Finding Of Same Values in Matrix
Ältere Kommentare anzeigen
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..
Akzeptierte Antwort
Weitere Antworten (1)
Andrei Bobrov
am 6 Dez. 2015
a - your array;
b = unique(a);
[~,idx] = ismember(a,b);
1 Kommentar
Volkan Yangin
am 6 Dez. 2015
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!