Byte data format bits manipulation

버전 1.4.0.0 (18.5 KB) 작성자: Michael Chan
Demonstrate ascii character/ symbol convert to/ from byte formats of decimal, binary and hexadecimal
다운로드 수: 404
업데이트 날짜: 2012/2/22

라이선스 보기

The objective is to provide sample utilities and demonstrate ascii character/ symbol convert to/ from byte formats of decimal, binary and hexadecimal.

Format can also be recognized by isHexadecimal and isBinary functions. Bit shifting is performed.
ALternatively, bitshift() can be used.

main executing reference usages:
1. usage_asciiTable.m :
a. display ascii table
b. demonstrates bits shifting
2. usage_asciiToAndFromBaseValues.m :
a. converts ascii symbols to binary, decimal, and hexadecimal byte formats
b. converts binary, decimal, and hexadecimal byte formats to ascii symbols
3. usage_shift_rotateBits.m
a. illustrates bit array shifting and rotation

* Caveat:
1. For reference only.

If the illustrative demo has more elegant presentation, please do not hesitate to suggest and send feedback to the author.
Email: promethevx@yahoo.com.

Thank you.

Regards,
Michael Chan JT

인용 양식

Michael Chan (2024). Byte data format bits manipulation (https://www.mathworks.com/matlabcentral/fileexchange/32975-byte-data-format-bits-manipulation), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

added insert bit segments and modify bits segments on a strings or stream of bits.

1.3.0.0

added features to extract and discard bits | bytes in array.

1.2.0.0

long bit string operations for eg. xorBitStrs.m, etc.

1.1.0.0

Added shift and rotation of bit array.

1.0.0.0