Help in creating Voronoi diagram- MATLAB

3 visualizaciones (últimos 30 días)
ruban ramalingam
ruban ramalingam el 11 de Mzo. de 2019
Comentada: zhengyang sun el 5 de Dic. de 2019
I have tried this code available in matlab documentation..
x = gallery('uniformdata',[1 10],0);
y = gallery('uniformdata',[1 10],1);
voronoi(x,y)
Ending with the error
Attempt to execute SCRIPT voronoi as a function:
C:\Users\Administrator\Documents\MATLAB\voronoi.m
Error in don (line 3)
voronoi(x,y)
How to sort out this error?
  2 comentarios
Bjorn Gustavsson
Bjorn Gustavsson el 11 de Mzo. de 2019
Moost likely you have another script voronoi.m on your matlab path. Try:
which voronoi -all
...to find out.
HTH
zhengyang sun
zhengyang sun el 5 de Dic. de 2019
I see,thanks a lot!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Voronoi Diagram en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by