Dataset sortcols
From Eigenvector Documentation Wiki
Visited: Dataset sortcols
Contents |
Purpose
Sort columns of a DataSet.
Synopsis
- [B,index] = sortcols(x);
- [B,index] = sortcols(x,col);
Description
Analog of the standard SORTROWS command. Input (col) allows specification of which columns should be used to sort. A negative value indicates that the given column should be sorted in decreasing order. The entire DataSet object is sorted, including the labels, classes, axisscales, etc.