function r=diffrows(m) %DIFROWS Returns true if all rows in a matrix are different % % R=DIFFROWS(m) % % R - true if all rows in m are different, false otherwise % % m - Any matrix % % See also: % % LEXSORT % % 04/06/1999 ; Pedro Frazão Ferreira % r=all(any(diff(lexsort(m))'));