Version:

Determines whether elements are NaN.

## Syntax

c = is_nan(a)
Legacy name: isnan

## a

Scalar or array of any dimension of any data type.

## c

Boolean values. An element in c is Boolean 1, or TRUE, if but only if the corresponding element of a is NaN. Otherwise, the element is Boolean 0, or FALSE. c is of the same size as a.