how Draw a Tetrahedron in matlab
조회 수: 7 (최근 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에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!