Extracting faces and vertices from a mesh
4 ビュー (過去 30 日間)
古いコメントを表示
Hello guyz, I am doing some plane stress FEA using Matlab and need the matrix of the quadrilateral elements (faces) and their corresponding nodes (vertices) to input into matlab file. I have a square matrix whose elements are numbers which could be 1 or other numbers. E.g: A = [1 1 1 1; 1 1 1 1; 1 2 3 1; 1 2 4 1]. If the cells with value of 1s are meshed, the resulting geometry is what i need (image is attached). An element is 1 unit in length and width. The challenge I am facing is how to extract the vertices and faces into a matrix form (shown in the attached file) using matlab. Please can anyone assist me. I would be very happy because this is my MSc thesis.
Olu
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160790/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160794/image.jpeg)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Point Cloud Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!