I used the built in matlab function to create a voronoi diagram, and am now trying to find the neighbors of each cell, using the vertices and matlab built in function nearestneighbors, but I am having trouble understanding the inputs and what the vertices output actually is (I get two columns). Any help would be great! Thanks!
MATLAB: Finding Neighbors of cells in a voronoi diagram
voronoi
Best Answer