The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: find duplicate entries for each row
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Q Zhang

Posts: 42
Registered: 10/8/09
find duplicate entries for each row
Posted: May 5, 2013 1:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear All,

I have a n*2 matrix which is as below and consists of only 1, 2, 3 inside

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?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.