isnan
Element-wise NaN test.
Syntax
Section titled “Syntax”TF = isnan(A)Description
Section titled “Description”Returns a logical array marking which elements of A are NaN.
Example
Section titled “Example”isnan([1 NaN 3]) % [0 1 0]Element-wise NaN test.
TF = isnan(A)Returns a logical array marking which elements of A are NaN.
isnan([1 NaN 3]) % [0 1 0]