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$>
References: <glkphu$6v$> <>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1232998742 21639 (26 Jan 2009 19:39:02 GMT)
NNTP-Posting-Date: Mon, 26 Jan 2009 19:39:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:514043

ImageAnalyst <> wrote in message <>...
> 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