Dataset unique
Jump to navigation
Jump to search
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.