how Draw a Tetrahedron in matlab
4 次查看(过去 30 天)
显示 更早的评论
- Item one
- Item twoplease how to draw a Tetrahedron in matlab ?
0 个评论
回答(1 个)
Star Strider
2015-10-26
Item one is easy: ... !
Item two: This is one possibility:
X = [1 0 1; 0 0 0; 0 0 0]*1.5;
Y = [0 0 0; 1 0 1; 0 0 0]*1.5;
Z = [0 1 0; 0 0 0; 1 0 1]*1.5;
figure(1)
surf(X, Y, Z)
axis equal
axis([-1 2 -1 2 -1 2])
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Object Containers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!