Documentation Center

  • Trial Software
  • Product Updates

ipermute

Class: categorical

Inverse permute dimensions of categorical array

The nominal and ordinal array data types might be removed in a future release. To represent ordered and unordered discrete, nonnumeric data, use the MATLAB® categorical data type instead.

Syntax

A = ipermute(B,order)

Description

A = ipermute(B,order) is the inverse of permute. ipermute rearranges the dimensions of the categorical array B so that permute(A,order) will produce B. The array produced has the same values of 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

Was this topic helpful?