Skip to Main Content Skip to Search
Product Documentation

double - Class: categorical

Convert categorical array to double array

Syntax

B = double(A)

Description

B = double(A) converts the categorical array A to a double array. Each element of B contains the internal categorical level code for the corresponding element of A.

See Also

single

  


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