Table Of Contents

numdims

Version:
    Last Modified: December 12, 2016

    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: DAQExpress does not support FPGA devices


    Recently Viewed Topics