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 --------------------------------------------------------------------------- ind - indices of unique rows in M