change-base
Change number base (radix) - Feb 1994
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
引用格式
Giampiero Campa (2024). chb (https://github.com/giampy1969/change-base/releases/tag/v1.1), GitHub. 检索时间: .
MATLAB 版本兼容性
创建方式
R11.1
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Elementary Math > Discrete Math >
- Mathematics and Optimization > Symbolic Math Toolbox > Mathematics > Numbers and Precision >
在 Help Center 和 MATLAB Answers 中查找有关 Discrete Math 的更多信息
标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
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 |
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。