Table Of Contents

is_scalar

Version:
    Last Modified: January 9, 2017

    Determines whether the input a is a scalar.

    Syntax

    b = is_scalar(a)
    Legacy name: isscalar

    Inputs

    a

    Scalar or array of any dimension of any data type.

    Outputs

    b

    1 if a is a scalar. Otherwise, the function returns 0. b is a Boolean.

    b = is_scalar(4.3)
    b = is_scalar([4.5, 5])

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics