# ee.Image.matrixDiagonal

Computes the diagonal of the matrix in a single column.

<br />

| Usage | Returns |
|---|---|
| `Image.matrixDiagonal()` | Image |

| Argument | Type | Details |
|---|---|---|
| this: `value` | Image | The image to which the operation is applied. |