convert integer to binary or binary to integer

버전 1.0.0 (1.58 KB) 작성자: Thomas
convert a column vetor of integers to a column vector of binaries or vice versa
다운로드 수: 33
업데이트 2021/1/10

라이선스 보기

example:
int2bin([2; 5; 15]) = [0 0 1 0;0 1 0 1;1 1 1 1]
or
bin2int([ 0 1 1; 2 2 2], 3) = [4; 26] (in a three digit system)

인용 양식

Thomas (2026). convert integer to binary or binary to integer (https://kr.mathworks.com/matlabcentral/fileexchange/85473-convert-integer-to-binary-or-binary-to-integer), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2020b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
버전 게시됨 릴리스 정보
1.0.0