| Bioinformatics Toolbox™ | ![]() |
B = single(DMObj)
B = single(DMObj, Rows)
B = single(DMObj, Rows, Cols)
| DMObj | DataMatrix object, such as created by DataMatrix (object constructor). |
| Rows, Cols | Row(s) or column(s) in DMObj, specified by one of the following:
|
| B | MATLAB numeric array. |
B = single(DMObj) converts DMObj, a DataMatrix object, to a single-precision array, which it returns in B.
B = single(DMObj, Rows) converts a subset of DMObj, a DataMatrix object, specified by Rows, to a single-precision array, which it returns in B. Rows can be a positive integer, vector of positive integers, string specifying a row name, cell array of row names, or a logical vector.
B = single(DMObj, Rows, Cols) converts a subset of DMObj, a DataMatrix object, specified by Rows and Cols, to a single-precision array, which it returns inB. Cols can be a positive integer, vector of positive integers, string specifying a column name, cell array of column names, or a logical vector.
Bioinformatics Toolbox function: DataMatrix (object constructor)
Bioinformatics Toolbox object: DataMatrix object
Bioinformatics Toolbox method of a DataMatrix object: double
![]() | shortestpath (biograph) | sortcols (DataMatrix) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |