num2hex
Convert a number to its IEEE hexadecimal representation.
📝Syntax
s = num2hex(X)
📥Input Arguments
Parameter Description
X a single or double numeric array.
📤Output Arguments
Parameter Description
s a character array of the hexadecimal digits (16 for double, 8 for single).
📄Description

num2hex Convert a number to its IEEE hexadecimal representation.

💡Examples
s = num2hex(1)
🔗See Also
hex2num
🕔Version History
Version Description
1.14.0 initial version
Edit this page on GitHub