Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Minimum distances of one vector to another
Date: Mon, 26 Jan 2009 19:39:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gll3gm$l47$1@fred.mathworks.com>
References: <glkphu$6v$1@fred.mathworks.com> <1fa8fad2-d4a8-4ae2-a74d-d4c4cb1e827d@r36g2000prf.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232998742 21639 172.30.248.35 (26 Jan 2009 19:39:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 26 Jan 2009 19:39:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:514043

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <1fa8fad2-d4a8-4ae2-a74d-d4c4cb1e827d@r36g2000prf.googlegroups.com>...
> Robert:
> I can't figure out why you're taking the square root.  If you want to
> find the closest or farthest distance, simply searching on the
> distance squared will do it.  No need to take the square root until
> the search is done.  I'm surprised no one else mentioned it -- am I
> incorrect here?
> Regards,
> ImageAnalyst

  Walter already mentioned that in this thread.

Roger Stafford