Path: news.mathworks.com!not-for-mail
From: "Marie " <sarrowsmith@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Clustering Pairs
Date: Thu, 2 Aug 2007 02:16:44 +0000 (UTC)
Organization: Southern Methodist University
Lines: 7
Message-ID: <f8reqc$o08$1@fred.mathworks.com>
Reply-To: "Marie " <sarrowsmith@gmail.com>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186021004 24584 172.30.248.36 (2 Aug 2007 02:16:44 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Aug 2007 02:16:44 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1063455
Xref: news.mathworks.com comp.soft-sys.matlab:422128


Greetings,
I have a series of pairs of numbers, e.g.:
[1 10;1 11;1 12;2 11;5 10;5 15;6 18]
I want to cluster together all pairs of numbers that contain common values. For example, in this case this would be [1 2 5 10 11 12 15] and [6 18].
Any help is appreciated!
S