Rank: 51174 based on 0 downloads (last 30 days) and 0 files submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Chris
Updated File Comments Rating
26 Nov 2009 nearestneighbour.m Computes nearest neighbour(s) by Euclidean distance Author: Richard Brown

cheers for the code, however just wondering a few things. in the program i am writing i have bacteria particles and fluid particles, with there initial coordinates in 2 seperate matrices. i need the neighbours lists for each point, both bacteria and fluid particles. i am using the radiusa round a point approach in the program

i can run the nearestneighbour file 4 different times and get bacteria/bacteria neighbours, fluid/fluid neighbours, fluid/bacteria neighbours and bacteria/fluid neighbours. this is very time consuming as well it always comes up that each particle is a neighbour of itself which is no good, just wondering if have any ideas about how to fix this, thanks, chris

Contact us at files@mathworks.com