isnan
Tests if a value is not a number.
Syntax
R = isnan(A)
Inputs
- A
- The input to be tested for NaN values.
Outputs
- R
- Each element of R is a logical value indicating whether the corresponding element of A is not a number.
Example
R = isnan([1, NaN, 0/0])
R = [0 1 1]