Convert decimal number to character vector representing hexadecimal number
returns
the hexadecimal representation of symbolic number str
= dec2hex(d
)d
as a character
vector. d
must be a nonnegative integer.
If d
is a matrix or multidimensional array of symbolic numbers with N
elements, dec2hex
returns a character array with N rows. Each row of the
output str
corresponds to an element of d
accessed
with linear indexing.