Owning Class: membership
Requires: MathScript RT Module
c = is_nan(a)
Legacy Name: isnan
Determines whether elements of a matrix are NaN.
| Name | Description |
|---|---|
| a | Specifies a scalar, vector, or matrix of any data type but plot objects and (Control Design and Simulation Module) state-space, transfer function, and zero-pole-gain models. |
| Name | Description |
|---|---|
| c | Returns a matrix of Boolean values. An element in c is 1 if and only if the corresponding element of a is NaN. Otherwise, the element is 0. c is a scalar, vector, or matrix of the same size as a. |
C = is_nan([nan, 1/0, 4])
C = is_nan(2.3+nan*i)