# ee.Image.matrixIdentity

Creates an image where each pixel is a 2D identity matrix of the given size.

<br />

| Usage | Returns |
|---|---|
| `ee.Image.matrixIdentity(size)` | Image |

| Argument | Type | Details |
|---|---|---|
| `size` | Integer | The length of each axis. |