Be the first to rate this file! 2 Downloads (last 30 days) File Size: 1.43 KB File ID: #24401

Compute the heights for tetrahedrons

by Wenzhe Shan

 

10 Jun 2009

Compute the heights, from nodes to opposite faces, of selected tetrahedrons

| Watch this File

File Information
Description

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]

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simulation Wenzhe Shan 10 Jun 2009 11:13:27
fem Wenzhe Shan 10 Jun 2009 11:13:28

Contact us at files@mathworks.com