FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
deduplicate.m File Reference

Description

DEDUPLICATE Remove duplicate rows or columns within tolerance.

[ B, I, J ] = DEDUPLICATE( A, DIM, TOL, MODE ) Removes duplicate rows or columns (according to DIM) from array A with tolerance TOL (default eps*1e3). Returns an array B and optionally index vectors I and J so that B = A(I,:) and A = B(J,:). (Retains the order of the unique rows/columns in A). Additionally MODE is a flag to indicate the use of unique built-in function (MODE = 0) or not (default).

See also
UNIQUE.