Home > mpt > @polytope > private > uniquerows2.m

uniquerows2

PURPOSE ^

UNIQUEROWS1 Fast method to obtain indices of unique rows of a given matrix

SYNOPSIS ^

function [UM,ind] = uniquerows1(M, nc)

DESCRIPTION ^

UNIQUEROWS1 Fast method to obtain indices of unique rows of a given matrix

 ind = uniquerows1(M,nc)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Returns indices of unique rows of a given matrix

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 M   - matrix
 nc  - number of columns of M (i.e. size(M,2))

 ---------------------------------------------------------------------------
 OUTPUT
 ---------------------------------------------------------------------------
 UM  - matrix containing only unique rows of M
 ind - indices of unique rows in M

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003