Dataset sortcols
Jump to navigation
Jump to search
Purpose
Sort columns of a DataSet.
Synopsis
- [B,index] = sortcols(A,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.