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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.