Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

double - Class: dataset

Convert dataset variables to double array

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 variable name, a cell array containing one or more variable names, or a logical vector.

See Also

dataset, single, replacedata

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS