• Remix
  • Share
  • New Entry

on 25 Oct 2022
  • 16
  • 28
  • 0
  • 1
  • 209
rng(10);
x = rand([25 1]);
y = rand([25 1]);
z = rand([25 1]);
DT = delaunayTriangulation(x,y,z)
DT =
delaunayTriangulation with properties: Points: [25×3 double] ConnectivityList: [86×4 double] Constraints: []
c = size(DT); c1 = 2*c(1)
c1 = 172
tetramesh(DT,c1:-2:1,'FaceAlpha',0.1)
set(gca,'XColor', 'none','YColor','none', 'ZColor', 'none')
Remix Tree