Compute the heights for tetrahedrons
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
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Heat Transfer >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |