Matlab Statistics Toolbox has a 'knnsearch' function that does exactly this: http://www.mathworks.com/help/stats/knnsearch.html.
確定! 回上一頁