Matching xy coordinates from different tables

3 次查看(过去 30 天)
I am trying to match xy coordinates from two different tables. Some of the coordinates are not exact, what can I do in my code to get the closest matching xy coordinates?
  3 个评论
Image Analyst
Image Analyst 2019-6-15
You can try pdist2() to get the distances of every point to every other point. Then just look for ones where the distance is less than some threshold you specify. Attach your table data in a .mat file if you need any more help.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by