Nearest nodes to a given point
15 次查看(过去 30 天)
显示 更早的评论
Hello;
I have a set of randomly distributed nodes ( N ) in a closed domain, a point ( P ) inside this domain and an integer ( m >1 ). The number of nodes in N is sufficiently larger than m.
What is the most efficient way to find the nearest m nodes to the point P from the set N?
Thank you,,,
0 个评论
采纳的回答
Shashank Prasanna
2014-7-21
You can perform a "m" nearest neighbor search for a specified distance metric:
Here are your choices of distance measures:
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!