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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.