From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

is_equalnan

Version:
    Last Modified: December 12, 2016

    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.

    Syntax

    c = is_equalnan(a, b, ...)
    Legacy name: isequalwithequalnans

    Inputs

    a

    First scalar or array of any dimension.

    b

    Second scalar or array of any dimension.

    ...

    Further arrays.

    Outputs

    c

    1 (True) if a and b contain the same numerical content. Otherwise, this function returns 0 (False). c is a Boolean.

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

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: DAQExpress does not support FPGA devices


    Recently Viewed Topics