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

is_equalnan (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: comparison

Requires: MathScript RT Module


c = is_equalnan(a, b, ...)

Legacy Name: isequalwithequalnans


Determines whether two or more matrices contain the same numerical content. Data types do not have to be the same. is_equalnan considers values of NaN to be equal to each other. You can specify an unlimited number of inputs. All inputs must have the same size.



Name Description
a Specifies the first scalar, vector, or matrix.
b Specifies the second scalar, vector, or matrix.


Name Description
c Returns 1 if a and b contain the same numerical content. Otherwise, this function returns 0. c is a Boolean.


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


A = [1, 2, 3; nan, inf, 4]
B = A
C = is_equalnan(A, B)

Related Topics



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