JDEC2HEX

Uses Java to convert arbitrary length decimal to hex (for nonnegative integers)

You are now following this Submission

This function uses Java to convert arbitrary length decimal numbers to hexadecimal, for nonnegative integers. (Therefore, it is the inverse of the previously posted JHEX2DEC function.) Remember that inputs and outputs are character arrays. It does not require the Symbolic Toolbox.

USAGE:
h = jdec2hex(d);

VARIABLES:
d = decimal intput character array
h = hexdecimal output character array

Cite As

Michael Kleder (2026). JDEC2HEX (https://uk.mathworks.com/matlabcentral/fileexchange/8986-jdec2hex), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0