Skip to Main Content Skip to Search
Product Documentation

single - Class: categorical

Convert categorical array to single array

Syntax

B = single(A)

Description

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

See Also

double

  


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