how Draw a Tetrahedron in matlab
3 views (last 30 days)
Show older comments
- Item one
- Item twoplease how to draw a Tetrahedron in matlab ?
0 Comments
Answers (1)
Star Strider
on 26 Oct 2015
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 Comments
See Also
Categories
Find more on Object Containers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!