# ee.Array.matrixTranspose

Transposes two dimensions of an array.

<br />

| Usage | Returns |
|---|---|
| `Array.matrixTranspose(*axis1*, *axis2*)` | Array |

| Argument | Type | Details |
|---|---|---|
| this: `array` | Array | Array to transpose. |
| `axis1` | Integer, default: 0 | First axis to swap. |
| `axis2` | Integer, default: 1 | Second axis to swap. |