JHEX2DEC

Arbitrary length hex to decimal conversion.

You are now following this Submission

This is a little ditty I put together while playing with Java. Remember that inputs and outputs are character arrays. I used Java rather than the Symbolic Toolbox.

USAGE:
c = jhex2dec(h);

VARIABLES:
h = hexdecimal input character array
c = decimal output character array

Cite As

Michael Kleder (2026). JHEX2DEC (https://www.mathworks.com/matlabcentral/fileexchange/7063-jhex2dec), 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

Change "char(c)" to "char(c.toString)" where c is a Java BigInteger, to make compatible with newer Matlab versions.