A = ipermute(B,dimorder)
rearranges the dimensions of an array B in the order specified by the
vector dimorder such that B = permute(A,dimorder). In other words, the ith
dimension of the input array becomes the dimension dimorder(i) in the
output array.
If B is a heterogeneous cell array, dimorder
must be a constant. To learn more about heterogeneous cell arrays, see Code Generation for Cell Arrays (MATLAB Coder).
The ipermute function
fully supports GPU arrays. To run the function on a GPU, specify the input data as a gpuArray (Parallel Computing Toolbox). For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.