image thumbnail

chb

version 1.0.0.0 (1.7 KB) by Giampiero Campa
change base

2.5K Downloads

Updated 12 May 2005

View License

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)

Giampiero Campa 21-2-94

Cite As

Giampiero Campa (2021). chb (https://www.mathworks.com/matlabcentral/fileexchange/931-chb), MATLAB Central File Exchange. Retrieved .

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

Inspired: Numeral Systems Toolbox 1.1

Community Treasure Hunt

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

Start Hunting!