double
Convert DataMatrix object to double-precision array
Syntax
B
= double(DMObj
)
B
= double(DMObj
, Rows
)
B
= double(DMObj
, Rows
, Cols
)
Input Arguments
DMObj | DataMatrix object, such as created by |
Rows , Cols | Row(s) or column(s) in
|
Output Arguments
B | MATLAB® numeric array. |
Description
converts B
= double(DMObj
)DMObj
,
a DataMatrix object, to a double-precision array, which it returns
in B
.
converts
a subset of B
= double(DMObj
, Rows
)DMObj
, a DataMatrix object,
specified by Rows
, to a double-precision
array, which it returns inB
. Rows
can
be a positive integer, vector of positive integers, character vector
specifying a row name, cell array of row names, or a logical vector.
converts
a subset of B
= double(DMObj
, Rows
, Cols
)DMObj
, a DataMatrix object,
specified by Rows
and Cols
,
to a double-precision array, which it returns inB
. Cols
can
be a positive integer, vector of positive integers, character vector
specifying a column name, cell array of column names, or a logical
vector.
Version History
Introduced in R2008b