DMObjNew =
sortcols(DMObj1) sorts the columns in
DMObj1 in the ascending order based on the elements in the first row.
For any columns that have equal elements in a row, sorting is based on the row immediately
below.
DMObjNew =
sortcols(DMObj1,Row) sorts the columns in
DMObj1 in the ascending order based on the elements in the specified
Row. Any columns that have equal elements in the specified row are
sorted based on the elements in the next specified row.
[DMObjNew, Indices]
= sortcols(___) also returns Indices, an index
vector that links DMObj1 to DMObjNew for any of
the previous syntaxes. In other words, DMObjNew =
DMObj1(:,idx).
Load the MAT-file, provided with the software, that contains yeast data. This MAT-file includes three variables: yeastvalues, a 614-by-7 matrix of gene expression data, genes, a cell array of 614 GenBank® accession numbers for labeling the rows in yeastvalues, and times, a 1-by-7 vector of time values for labeling the columns in yeastvalues.
load filteredyeastdata
Create variables to contain a subset of the data, specifically the first five rows and first four columns of the yeastvalues matrix, the genes cell array, and the times vector.
Row information, specified as a positive integer, vector of positive integers,
character vector, string scalar, string vector or cell array of character vectors
specifying row names, or logical vector.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.