If you already have the points and the connectivity matrix, you should be able to use triangulation and then triplot. Look at this example for more details.
Triangular 3D mesh
16 次查看(过去 30 天)
显示 更早的评论
Hi, I'm attempting to utilise some code I've been given which models a hypersonic flow. To do so, it imports geometry in the form of a point cloud and a connectivity matrix. The code doesn't give any indication as to how to create the mesh, so I'm attempting to create it by importing an STL file and then using generateMesh - the only issue is that the code I'm using requires triangular elements while generateMesh gives me elements with either 10 (using quadratic) or 4 (using linear) points - is there any way for me to convert these to triangular elements?
Thanks
A
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!