<< icceps Signal Processing Supplementary toolbox ladr2dir >>

Signal Processing Supplementary toolbox >> Signal Processing Supplementary toolbox > ipermute

ipermute

Performs inverse permutation

Calling Sequence

a = ipermute(b,order)

Parameters

b

An array whose dimensions are to be inversely permuted in certain specific order

order

A vector specifying the order of inverse permutation

a

Inversely permuted array

Description

It re-arranges the dimensions of a multi-dimensional array in certain order specified in the second parameter. It perfomrs the reverse process of the permute function.

Examples

a=rand(3,1,2,4);
b=permute(a,[1,2,4,3]);
y=ipermute(b,[1,2,4,3]);
isequal(a,b);
isequal(y,a);

Authors


Report an issue
<< icceps Signal Processing Supplementary toolbox ladr2dir >>