FUNCTION REFERENCE
ipermute
Undo a permutation of array dimensions.
Undo a permutation of array dimensions.
Syntax
ipermute(A, ORDER)Applies the inverse of ORDER, preserving the class and complex values. Trailing singleton dimensions are accepted when the result remains 2-D.
Example
ipermute([1 3; 2 4], [2 1]) % [1 2; 3 4]Differences from MATLAB: Numeric, logical, char and complex N-D inputs and results, also from a 2-D input; cell and struct arrays stay 2-D.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.