FUNCTION REFERENCE
num2hex
Show floating-point values as hexadecimal bit patterns.
Show floating-point values as hexadecimal bit patterns.
Syntax
num2hex(A)Returns one character row per element, in column-major order: 16 hexadecimal digits for double and 8 for single. Integer and complex inputs are rejected.
Example
num2hex(1) % '3ff0000000000000'Differences from MATLAB: Character output is limited to 65536 UTF-16 units.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.