How to obtain nearest distance between two sets of coordinates
2 次查看(过去 30 天)
显示 更早的评论
Hi there, I have two sets of coordinates such as
startpose = [2,1; 4,5; 6,5; 2,3; 8,9];
endpose = [7,6; 2,4; 5,4; 2,9; 1,6;];
how can I obtain the nearest distance between the "startpose" and the "endpose" so that at the end I will have 5 pair of neareast distance between the two sets, and display which are the pair? Thanks
-Chann-
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!