Table Of Contents

is_equalnan

Version:
    Last Modified: January 9, 2017

    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: Not supported


    Recently Viewed Topics