2,5K téléchargements
Mise à jour 17 avr. 2023

change-base

Change number base (radix) - Feb 1994

View chb on File Exchange

B = chb(A,a,b) change numerical base: a,b scalars from 2 to 64 , A,B strings. Number A in base a , expressed in base b by B. Symbols are 0 .. 9 A .. Z a .. z @ &.

Example: '-54.13'-chb(chb('-54.13',6,27),27,6)

Note: since it operates by converting to and from doubles, it is not perfectly reliable for very long numbers in high bases.

Giampiero Campa 21-2-94

Citation pour cette source

Giampiero Campa (2024). chb (https://github.com/giampy1969/change-base/releases/tag/v1.1), GitHub. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R11.1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

A inspiré : Numeral Systems Toolbox 1.1

Community Treasure Hunt

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

Start Hunting!

Version Publié le Notes de version
1.1

See release notes for this release on GitHub: https://github.com/giampy1969/change-base/releases/tag/v1.1

1.0.0.0

Renamed lowercase

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.