Table Of Contents

reorderdim

Version:
    Last Modified: March 15, 2017

    Reorders the dimensions of an array.

    Syntax

    reorderdim(a, b)
    c = reorderdim(a, b)
    Legacy name: permute

    Inputs

    a

    Array of any dimension.

    b

    Order of the array. The vector b has the same length as the dimension of a. b must contain the elements from 1 to the dimension of a in any order, but each element may appear only once.

    Outputs

    c

    Array of the same size as a.

    C = reorderdim([1, 2, 3; 4, 5, 6], [2, 1])

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics