Minimum Distance loop between 'n' number of points (Scripts) Publisher's description
Function to find the minimum distance loop from given set of points
Function to find the minimum distance loop from given set of points.
This function uses the distance formula to genrate a minimum distance loop.
function mindist = minimumdistance(X,Y,x,y)
X = X coordinate vector
Y = Y coordinate vector
(x,y) point where the loop is to be started
This point is labeled as 1 and then the rest in (X,Y) starting from 2 onwards
mindist = final value of the minimum distance from point (x,y) to (x,y)
(This function uses the distance formula directly and no algorithms as such. Any suggestions to improve the code are most welcome)
System Requirements:MATLAB 7.5 (R2007b)
Program Release Status: New Release
Program Install Support: Install and Uninstall