# ipermute

Inverse permute array dimensions.

## Syntax

* R = ipermute(A, order)

## Input argument

* A - an array.
* order - Dimension order: row vector

## Output argument

* R - result array rearranged with new dimension order.

## Description

**ipermute** permutes the dimensions of an array (in inverse order of **permute**).

## Example

```matlab
x = [1 2 3; 4 5 6]
y = permute(x,[3 1 2])
x2 = ipermute(y,[3 1 2])
```

## See also

[permute](permute), [reshape](reshape), [transpose](../operators/transpose).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
