swapbytes
Swap byte ordering.
📝 Syntax
R = swapbytes(M)
📥 Input argument
M - a variable: integer, single or double real full matrix.
📤 Output argument
R - result of swapbytes: reversed byte order of M.
📄 Description
swapbytes Swap byte ordering.
endian (little - big) converter
💡 Example
X = uint16([65535 128; 1 0])
Y = swapbytes(X)🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?