Improved Base Expansion Algorithm

버전 1.1.0.0 (1.29 KB) 작성자: Alexander Wallar
This is an improvement of my last base expansion algorithm
다운로드 수: 903
업데이트 날짜: 2011/1/18

라이선스 보기

The difference between this algorithm and the other one that i posted is that it takes a vector as an input instead of a number. This is useful if the number you are trying to convert has digits bigger than 9.

Example:

>> baseVecExpand
n = [1 15 13 2]
starting base = 16
base of expanded number = 9

ans =

1 2 1 5 1

>>

My base expansion algorithms use input statements. All you need to do type in is baseVecExpand and the function will start running. you can also use it like a regular function

the regular funciton is baseVecExpand(number, base of number, base you want the number to be)

인용 양식

Alexander Wallar (2026). Improved Base Expansion Algorithm (https://kr.mathworks.com/matlabcentral/fileexchange/30035-improved-base-expansion-algorithm), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Logical에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.1.0.0

improvements

1.0.0.0