hex
Hexadecimal representation of stored integer of fi
object
Syntax
Description
returns the
stored integer of b
= hex(a
)fi
object a
in hexadecimal format
as a character vector.
Fixed-point numbers can be represented as
or, equivalently as
The stored integer is the raw binary number, in which the binary point is assumed to be at the far right of the word.
Tip
hex
returns the hexadecimal representation of the stored
integer of a fi
object. To obtain the hexadecimal representation of
the real-world value of a fi
object, use dec2hex
.
Examples
Input Arguments
Version History
Introduced before R2006a