Generate Circle Mesh
Versione 1.0.2 (1,68 KB) da
Ayad Al-Rumaithi
Generates circle mesh with example
This function generates circle mesh
[Nodes, Triangles, Quads]=Circle_Mesh(R,Nr,Nt)
input:
R: radius
Nr: Number of mesh in radial direction
Nt: Number of mesh in tangent direction
output:
Nodes (Nr*Nt+1,2) is a matrix of coordinates of the mesh nodes.
Triangles((Nt,3) is a matrix of nodes connectivity for triangle mesh in counter clock wise direction.
Quads((Nr-1)*Nt,4) is a matrix of nodes connectivity for quad mesh in counter clock wise direction.
Example file is provided
Cita come
Ayad Al-Rumaithi (2024). Generate Circle Mesh (https://www.mathworks.com/matlabcentral/fileexchange/92283-generate-circle-mesh), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2017b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.