JHEX2DEC

Arbitrary length hex to decimal conversion.

Vous suivez désormais cette soumission

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

Citation pour cette source

Michael Kleder (2026). JHEX2DEC (https://fr.mathworks.com/matlabcentral/fileexchange/7063-jhex2dec), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version 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.