missing
Create missing values
Syntax
Description
m = missing
returns a missing value displayed as
<missing>
. You can set an element of an array or table
to missing
to represent missing data. The value of
missing
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 support missing
and their corresponding
standard missing values after assignment are as follows:
double
,single
,duration
, andcalendarDuration
convertmissing
toNaN
datetime
convertsmissing
toNaT
categorical
convertsmissing
to<undefined>
string
convertsmissing
to<missing>
Examples
Extended Capabilities
Version History
Introduced in R2017a
See Also
anymissing
| ismissing
| standardizeMissing
| fillmissing
| fillmissing2
| matlab.test.behavior.Missing