# disp

Display a variable.

## 📝 Syntax

* disp(V)

## 📥 Input argument

* V - a variable

## 📄 Description

disp(V) displays the value of the variable V.

disp uses current format setting to display numeric values.

## 💡 Examples

```matlab
disp('Hello Nelson')
```

```matlab
disp(pi)
```

```matlab
disp(eye(3, 3))
```

disp always ends with a newline.

```matlab
disp('')
```

## 🔗 See also

[display](https://nelson-9.gitbook.io/Nelson/markdown/en/display_format/display), [fprintf](https://nelson-9.gitbook.io/Nelson/markdown/en/stream_manager/fprintf), [format](https://nelson-9.gitbook.io/Nelson/markdown/en/display_format/format).

## 🕔 History

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