double
(Not Recommended) Convert dataset variables to double array
The dataset data type is not recommended. To work with heterogeneous data,
use the MATLAB®
table data type instead. See MATLAB
table documentation for more information.
Syntax
b = double(A)
b = double(a,vars)
Description
b = double(A) returns the contents of the dataset
A, converted to one double array.
The classes of the variables in the dataset must support the
conversion.
b = double(a,vars) returns the contents of the
dataset variables specified by vars.
vars is a positive integer, a
vector of positive integers, a character vector, a string array,
a cell array of character vectors, or a logical vector.
See Also
dataset | single | replacedata