how to create a triangular geometry in matlab using loop?
이전 댓글 표시
How can I create a triangular shape geometry in matlab using 'for loop'? Can I create grid point in this?
채택된 답변
추가 답변 (1개)
Azzi Abdelmalek
2016년 4월 28일
편집: Azzi Abdelmalek
2016년 4월 28일
You don't need a loop to create a triangle, just set the coordinate of your triangle. For example
t=[0 10 5 0]
y=[0 0 5 0]
plot(t,y)
or
fill(t,y,'g')
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
