Vertices and faces matrices generation for rectangular prisms
%GEN_VERT generating vertices and faces matrices for a rectangular surface mesh.
%[vert faces] = gen_vert (ms_x,ms_y,ms_z,inc_x,inc_y,inc_z) or
%[vert faces] = gen_vert (ms_x,ms_y,inc_x,inc_y)
%ms_x,ms_y and ms_z are the maximum x y z limits for the coordinate and
%inc_x, inc_y, inc_z are the unit lengths that essentialy determines the mesh element size.
%vert is the vertices coordinates and faces are the faces matrix that maps
%the vertices for using in patch function for instance.
Cite As
Bilen Oytun Peksel (2026). Vertices and faces matrices generation for rectangular prisms (https://uk.mathworks.com/matlabcentral/fileexchange/38760-vertices-and-faces-matrices-generation-for-rectangular-prisms), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Object Detection Using Features > Face Detection >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
