Find average nearest neighbor

5 views (last 30 days)
Kamyar
Kamyar on 17 Nov 2013
Commented: Roger Stafford on 17 Nov 2013
N points have been distributed in a rectangle of the dimensions a & b. The rectangle is periodically repeated along the x-axis (so we have infinite number of rectangles in the x-axis with the same pattern of points). I want to find the average distance of nearest neighbors. How can I do that?

Answers (0)

Community Treasure Hunt

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

Start Hunting!