isundefined
Find undefined elements in categorical array
Syntax
Description
TF = isundefined(
returns
a logical array, A
)TF
, that indicates which elements
in the categorical array, A
, contain undefined
values. isundefined
returns logical 1
(true
)
for undefined elements; otherwise it returns logical 0
(false
).
The size of TF
is the same as the size of A
.
Any elements in A
without a corresponding
category are undefined. Undefined values are similar to NaN
in
numeric arrays.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2013b