Help in creating Voronoi diagram- MATLAB

조회 수: 3 (최근 30일)
ruban ramalingam
ruban ramalingam 2019년 3월 11일
댓글: zhengyang sun 2019년 12월 5일
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
zhengyang sun
zhengyang sun 2019년 12월 5일
I see,thanks a lot!

댓글을 달려면 로그인하십시오.

답변 (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