# isequal

Return true if all arguments x1, x2, ... , xn are equal (same dimensions, same values).

## 📝 Syntaxe

* res = isequal(x1, x2)
* res = isequal(x1, x2, xn)

## 📥 Argument d'entrée

* x1 - a value
* x2 - a value
* xn - a value

## 📤 Argument de sortie

* res - a logical value

## 📄 Description

isequal returns true if x1 and x2 are the same size and their contents are of equal value; otherwise, it returns false.

isequal compares real and imaginary parts of numeric arrays. NaN (Not a Number) values are considered to be NOTequal to other elements.

## 💡 Exemples

```matlab
A = eye(3, 3);
res = isequal(A, A)
```

```matlab
A = eye(3, 3);
B = single(A)
res = isequal(A, B)
res = isequalto(A, B)
```

```matlab
res = isequal('nel', 'son')
```

```matlab
res = isequalnNaN, NaN)
```

## 🔗 Voir aussi

[isequaln](https://nelson-9.gitbook.io/Nelson/markdown/fr/elementary_functions/isequaln), [isequalto](https://nelson-9.gitbook.io/Nelson/markdown/fr/elementary_functions/isequalto).

## 🕔 Historique

| Version | 📄 Description   |
| ------- | ---------------- |
| 1.0.0   | version initiale |
