Table Of Contents

is_inf

Version:
    Last Modified: March 15, 2017

    Determines whether elements of an array are equal to +inf or -inf.

    Syntax

    c = is_inf(a)
    Legacy name: isinf

    Inputs

    a

    Scalar or array of any dimension of any data type.

    Outputs

    c

    Array of Boolean values. An element in c is 1 if and only if the corresponding element of a is equal to +inf or -inf. Otherwise, the element is 0. c is of the same size as a.

    C = is_inf(nan)
    C = is_inf([+inf, -233, inf])

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics