Rank: 78209 based on 0 downloads (last 30 days) and 0 file submitted

dave matthews


Personal Profile:


Watch this Author's files


Comments and Ratings by dave matthews
Updated File Comments Rating
08 Apr 2009 Determine and count unique values of an array Very fast function to determine and count unique values of numeric, logical, char, cell arrays. Author: Anthony Kendall

it would be nice to extend this to the n-d case, or at least the 2-d case, i.e., find and list unique pairs?

x = [1 2; 1 3; 1 2];
then, uniques = [1 2], [1 3];
and, numuniques = [2 1];


Contact us