Skip to Main Content Skip to Search
Product Documentation

permute - Class: categorical

Permute dimensions of categorical array

Syntax

B = permute(A,order)

Description

B = permute(A,order) rearranges the dimensions of the categorical array A so that they are in the order specified by the vector order. The array produced has the same values as A but the order of the subscripts needed to access any particular element are rearranged as specified by order. The elements of order must be a rearrangement of the numbers from 1 to n.

See Also

circshift | ipermute

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS