다운로드 수: 2.5K
업데이트 날짜: 2023/4/17

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

인용 양식

Giampiero Campa (2024). chb (https://github.com/giampy1969/change-base/releases/tag/v1.1), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R11.1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

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 리포지토리로 가십시오.