Reorders the dimensions of an array.
c = reorderdiminv(a, b)Legacy name: ipermute
Array of any dimension.
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.
Array of the same size as a.
reorderdiminv is the inverse of the reorderdim function. The expression reorderdiminv(reorderdim(a, b), b) returns the original array a.
C = reorderdiminv([1, 2, 3; 4, 5, 6], [2, 1])
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported