Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

isequalwithequalnans (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the comparison class.

Syntax

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

Description

Determines whether two or more matrices contain the same numerical content. Data types do not have to be the same. isequalwithequalnans 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.

Examples

Inputs

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

Outputs

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

Examples

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

Related Topics

isequal


Resources


 

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