Generate Rectangular Mesh

版本 1.0.0 (1.1 KB) 作者: Ayad Al-Rumaithi
Generates rectangular mesh.
465.0 次下载
更新时间 2020/3/21

查看许可证

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.

引用格式

Ayad Al-Rumaithi (2024). Generate Rectangular Mesh (https://www.mathworks.com/matlabcentral/fileexchange/74656-generate-rectangular-mesh), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0