BIN2HEX

버전 1.0.0.0 (1.49 KB) 작성자: Richard Medlock
Converts Binary strings to HEX
다운로드 수: 7.9K
업데이트 날짜: 2002/7/19

라이선스 없음

Converts binary strings of any length to hexadecimal pairs. Adds leading zeros if there is not an even number of hex bits.

The zip file contains the 'isodd' function which is required, and the 'FormatHexStr' function to put spaces or convert to a cell array.

Example:

bin2hex('11101001')

ans =

E9

bin2hex('11011101111110111')

ans =

01BBF7

인용 양식

Richard Medlock (2024). BIN2HEX (https://www.mathworks.com/matlabcentral/fileexchange/1975-bin2hex), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12.1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0