Vertices and faces matrices generation for rectangular prisms

Vertices and faces matrices generation for rectangular prisms
349 Downloads
Updated 23 Oct 2012

View License

%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
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0