Create missing values
m = missing
returns a missing value displayed as
. You can set an element of an array or table tomissing
to represent missing data. The value ofmissing
is then automatically converted to the standard missing value native to the data type of the array or table variable. For example, core data types that supportmissing
and their corresponding standard missing values after assignment are as follows:
double
,single
,duration
, andcalendarDuration
convertmissing
toNaN
datetime
convertsmissing
toNaT
categorical
convertsmissing
to
string
convertsmissing
to