Dataset unique: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
(No difference)
|
Revision as of 14:49, 8 October 2008
Purpose
Returns a DataSet object containing all the unique values from the input.
Synopsis
D = unique(x); D = unique(x,'rows');
Description
Overload of the standard unique command. This method operates exactly as described for standard matrices (see standard unique documentation) except that the output is a DataSet object. Note that if the 'rows' input is supplied, labels, classes, etc. are retained on all modes. Otherwise, they are cleared.