Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

is_nan (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

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.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Yes


C = is_nan([nan, 1/0, 4])
C = is_nan(2.3+nan*i)

Related Topics



Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit