This function generates rectangular mesh accoarding to grid set by vectors xx and yy.
function [Nodes, Rectangles]=Rectangles_Mesh(xx,yy)
where inputs
xx and yy are vectors for grids of size (Nx,1) and (Ny,1), respectively.
output:
Nodes (Nx*Ny,2) is a matrix of x-coordinate of y-coordinates of the mesh nodes.
Rectangles((Nx-1)*(Ny-1),4) is a matrix of nodes connectivity for each element in counter clockwise direction.
Citar como
Ayad Al-Rumaithi (2024). Generate Rectangular Mesh (https://www.mathworks.com/matlabcentral/fileexchange/74656-generate-rectangular-mesh), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |