distance.m
by R. Bunschoten
03 Nov 1999
A fully vectorized function that computes the Euclidean distance matrix between two sets of vectors.
|
Watch this File
|
| File Information |
| Description |
A fully vectorized function that computes the Euclidean distance matrix between two sets of vectors.
The output is the same as MathWorks' (Neural Network Toolbox) 'dist' funtion (ie, d = dist(A',B), where A is a (DxM) matrix and B a (DxN) matrix, returns the same as my d = distance(A,B) ), but this function executes much faster. |
| Acknowledgements |
This submission has inspired the following:
Efficient K-Nearest Neighbor Search using JIT
|
| MATLAB release |
MATLAB 5.2 (R10)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (26) |
| 02 Apr 2002 |
Jan de Vries
|
|
|
| 15 Apr 2003 |
Peter G
|
|
|
| 21 Oct 2003 |
ti saigon
|
|
|
| 07 Mar 2004 |
imad ali
|
|
|
| 09 Apr 2004 |
Emily Van Ark
|
|
|
| 13 May 2004 |
uday desai
|
|
|
| 20 Nov 2004 |
Hsuan-Tien Lin
|
|
|
| 02 Mar 2005 |
Anton Cervantes
|
|
|
| 30 Mar 2005 |
Babak Taati
|
|
|
| 15 Apr 2005 |
Catherine Sweeney-Reed
|
|
|
| 08 Dec 2006 |
Enrique Guevara
|
|
|
| 02 Feb 2007 |
Markus Buehren
|
|
|
| 02 Feb 2007 |
Markus Buehren
|
|
|
| 17 May 2007 |
Xi-Lin Li
|
|
|
| 09 Oct 2007 |
A. S.
|
|
|
| 21 Nov 2007 |
M. Shoaib Sehgal
|
|
|
| 26 Dec 2007 |
Panyam Narahari Sastry
|
|
|
| 19 Feb 2008 |
Philipp Berens
|
|
|
| 25 Nov 2008 |
Oliver Woodford
|
|
|
| 07 Apr 2010 |
fabio freschi
|
|
|
| 23 Jun 2010 |
Stuart Layton
|
|
|
| 11 Jan 2011 |
George
|
|
|
| 11 Jan 2011 |
T. R.
|
|
|
| 26 Feb 2011 |
Andrea Tacchetti
|
|
|
| 30 Aug 2011 |
Ali Asghar Torabi
|
|
|
| 21 Sep 2011 |
vince
|
|
|
|
Contact us at files@mathworks.com