當前位置:編程學習大全網 - 網站源碼 - Delaunay函數源代碼

Delaunay函數源代碼

輸入必須包含1到num-points範圍內的索引值

您的範圍超出了索引範圍,必須介於1和num-points之間。

%例如:

rand('state ',0);

x =蘭特(1,10);

y =蘭特(1,10);

TRI = delaunay(x,y);

支線劇情(1,2,1),...

三點(三點,x,y)

軸([0 1 0 1]);

堅持住;

plot(x,y,'或');

[vx,vy] = voronoi(x,y,TRI);

支線劇情(1,2,2),...

plot(x,y,' r+',vx,vy,' b-'),...

坐標軸([0 1 0 1])

  • 上一篇:新閣教育和朝夕教育哪個好
  • 下一篇:各位大俠幫看看-----如何設置股票軟件函數公式?我用的是通達信
  • copyright 2024編程學習大全網