Main Content
dec2hex
Convert decimal integer to its hexadecimal representation for fi
objects
Since R2021b
Description
returns the hexadecimal, or base-16, representation of the decimal integer
hexStr
= dec2hex(D
)D
. The output argument hexStr
is a character
array where each row represents the hexadecimal digits of each decimal integer in
D
using the characters 0-9
and
A-F
. D
must contain finite
integers.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2021b