Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Q Zhang
Posts:
42
Registered:
10/8/09


find duplicate entries for each row
Posted:
May 5, 2013 1:26 PM


Dear All,
I have a n*2 matrix which is as below and consists of only 1, 2, 3 inside
idx=[ 2 2 1 2 3 2 1 2 1 3 3 1 2 2 1 3 2 2 1 2 3 1] I would like to find for which row the entries are the same, e.g. 2==2 then store the row index and the number 2. Which function can help me to realize this?
Thanks



