Finding Of Same Values in Matrix
Show older comments
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..
Accepted Answer
More Answers (1)
Andrei Bobrov
on 6 Dec 2015
a - your array;
b = unique(a);
[~,idx] = ismember(a,b);
1 Comment
Volkan Yangin
on 6 Dec 2015
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!