Compute the heights for tetrahedrons

Compute the heights, from nodes to opposite faces, of selected tetrahedrons
413 Downloads
Updated 10 Jun 2009

View License

Computation is vectorized, no loops

% H = gui_comp_h_tet4( id, ix, x)
%-----------------------------------------------------------
% compute the heights for the nodes of selected elements
% WZ. Shan, 23/01/09
%-----------------------------------------------------------
% input:
% ix : elem. con. mat. [p1, p2, p3, p4]
% id : indices of selected elements
% nel : number of elements
% x : nodal coordinates, [x, y, z]
% output:
% H : heights [h1, h2, h3, h4]

Cite As

Wenzhe Shan (2024). Compute the heights for tetrahedrons (https://www.mathworks.com/matlabcentral/fileexchange/24401-compute-the-heights-for-tetrahedrons), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0