Mercurial > hg > octave-nkf
diff scripts/set/unique.m @ 10088:5edee330d4cb
better argument checking and handling in set functions
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 12 Jan 2010 16:50:25 +0100 |
parents | eb63fbe60fab |
children | 634e182d34e4 |
line wrap: on
line diff
--- a/scripts/set/unique.m +++ b/scripts/set/unique.m @@ -26,6 +26,7 @@ ## Return the unique elements of @var{x}, sorted in ascending order. ## If @var{x} is a row vector, return a row vector, but if @var{x} ## is a column vector or a matrix return a column vector. +## @var{x} can be a cell array of strings. ## ## If the optional argument @code{"rows"} is supplied, return the unique ## rows of @var{x}, sorted in ascending order.