Create triangulated beam with meshgrid
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello,
I'd like to create a triangulatyed beam just like shown in picture. I have tried to use meshgrid function, but I'm not able to make it work to get a desired result. The beam has dimensions 500x100x100 (X,Y,Z)
So far. I have created a mesh of X2,Y and Z coordinates in the following way:
x = 0:50:500;
y = 0:50:100;
z = 0:50:100;
[X,Y,Z]= meshgrid(x,y,z);
Now, how I need to perform triangulation and to plot data? The result doesn/t have to be identical to the attached picture, but it should be a recangular beam of dimensions 500x100x100.
Thank you.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1126080/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1126080/image.png)
댓글 수: 0
답변 (1개)
millercommamatt
2022년 9월 15일
https://www.mathworks.com/help/matlab/delaunay-triangulation.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!