Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Clustering Pairs
Date: Thu, 2 Aug 2007 06:16:03 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 10
Message-ID: <f8rsr3$g45$1@fred.mathworks.com>
References: <f8reqc$o08$1@fred.mathworks.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186035363 16517 172.30.248.35 (2 Aug 2007 06:16:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Aug 2007 06:16:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:422138


Marie:
<SNIP down to problem with example...

> [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]...

there are many solutions to this.
however, your example does not make sense...
can you be more clear?
us