# eye {#eye}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`eye(X)`

## Arguments {#arguments}

**X** is a positive integer.

## Details {#details}

Return an *X* by *X* indentity matrix.

## Examples {#examples}

```
eye(3);
```

|\#0|\#1|\#2|
|---|---|---|
|1|0|0|
|0|1|0|
|0|0|1|

