JHEX2DEC

Arbitrary length hex to decimal conversion.
2.4K Downloads
Updated 1 Jun 2005

No License

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 (2024). JHEX2DEC (https://www.mathworks.com/matlabcentral/fileexchange/7063-jhex2dec), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

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