> For the complete documentation index, see [llms.txt](https://nelson-9.gitbook.io/nelson/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nelson-9.gitbook.io/nelson/markdown/en/types/issingle.md).

# issingle

Return true if variable var is a single matrix.

## 📝 Syntax

* res = issingle(var)

## 📥 Input argument

* var - a variable

## 📤 Output argument

* res - a logical: true or false

## 📄 Description

issingle returns a logical 1 if the argument is a single matrix and a logical 0 otherwise.

## 💡 Examples

```matlab
A = 3.6;
res = issingle(A)
```

```matlab
B = single([1 ; 3]);
res = issingle(B)
```

## 🔗 See also

[isdouble](/nelson/markdown/en/types/isdouble.md), [single](/nelson/markdown/en/single/single.md).

## 🕔 History

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