FEATool  v1.6
Finite Element Analysis Toolbox
 All Files Functions Pages
remove_duplicate_rows.m File Reference


REMOVE_DUPLICATE_ROWS Removes duplicate rows.

[ P_OUT ] = REMOVE_DUPLICATE_ROWS( P, TOL ) Removes duplicate rows from array P within tolerance TOL (default eps*1e3). (Keeps the first found duplicate rows and sorts the output so as to preserve the order as much as possible). Optionally returns an index vector IND to the original rows in P so that P_OUT = P(IND,:).