# swapbytes

Swap byte ordering.

## 📝 Syntaxe

* R = swapbytes(M)

## 📥 Argument d'entrée

* M - a variable: integer, single or double real full matrix.

## 📤 Argument de sortie

* R - result of swapbytes: reversed byte order of M.

## 📄 Description

swapbytes Swap byte ordering.

endian (little - big) converter

## 💡 Exemple

```matlab
X = uint16([65535 128; 1 0])
Y = swapbytes(X)
```

## 🔗 Voir aussi

[num2bin](https://nelson-9.gitbook.io/nelson/markdown/fr/elementary_functions/num2bin), [bin2num](https://nelson-9.gitbook.io/nelson/markdown/fr/elementary_functions/bin2num).

## 🕔 Historique

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