MINDIST1D - computes minimum distances between numbers. Usage: [dist,indices] = mindist( x1, x2, DIM ) One of x1 and x2 should be a row vector, the other should be a column vector. DIM is the dimension over which to find the minimum. If not given, the short dimension of x1 will be used. This function will have problems determining DIM automatically if x1 is a scalar. In that case, specify DIM explicitly. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% $Id: mindist1D.m,v 1.1 2006-06-23 22:13:15 dmk Exp $ Copyright (C) 2001 David M. Kaplan Licence: GPL %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Generated on Mon 18-Dec-2006 07:26:46 by