Nearest neighbour distances between random points
6 次查看(过去 30 天)
显示 更早的评论
I am trying to model an experiment where molecules are randomly distributed on a 2D surface. What I want to know is:
- How are the nearest neighbour distances between the molecules distributed?
- How does the distribution vary with the areal density of molecules?
In other words, for a range of densities (molecules/μm²) how do I calculate the mean/median distance between each molecule and its nearest neighbour? I thought this should be a trivial problem, but from what I have found so far it looks to be more involved than I thought. I'm an experienced MATLAB user but not a mathematician…
0 个评论
采纳的回答
Walter Roberson
2014-4-8
This sounds like a job for Monte Carlo methods.
repeat over the range of densities
repeat a number of times
use the current density to generate a random set of particle locations
find the nearest neighbour distances
measure the mean and median NN distances, probably the standard deviation, and record
end loop
create some kind of ensemble representation for the current density
end loop
You will need to pay attention to whether the locations are uniformly distributed or normally distributed or power law or whatever.
Doing a theoretical modeling is probably possible, but I do not know how to do it.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!