Help in creating voronoi diagram with offset cells

2 visualizzazioni (ultimi 30 giorni)
After creating voronoi cells are generated from the random seed points in a plane.... Each cell is offset to leave a desired amount of space around them and named it as a seperate region..
I have got the following code from the matlab..
x = gallery('uniformdata',[1 10],0);
y = gallery('uniformdata',[1 10],1);
voronoi(x,y)
how to create an offset to each cell?

Risposte (0)

Categorie

Scopri di più su Voronoi Diagram in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by