Help in creating Voronoi diagram- MATLAB

2 次查看(过去 30 天)
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 个评论
Bjorn Gustavsson
Bjorn Gustavsson 2019-3-11
Moost likely you have another script voronoi.m on your matlab path. Try:
which voronoi -all
...to find out.
HTH

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Voronoi Diagram 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by