Find average nearest neighbor

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?

1 件のコメント

Roger Stafford
Roger Stafford 2013 年 11 月 17 日
Please define "nearest neighbors".

サインインしてコメントする。

回答 (0 件)

質問済み:

2013 年 11 月 17 日

コメント済み:

2013 年 11 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by