Table Of Contents

numdims

Version:
    Last Modified: January 9, 2017

    Determines the dimension of an array of any dimension.

    Syntax

    c = numdims(a)
    Legacy name: ndims

    Inputs

    a

    Scalar or array of any dimension of any data type.

    Outputs

    c

    Dimension of a. c is an integer.

    A = [1, 2, 3, 4];
    c = numdims(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics