Single precision to uint8 and uint32 conversion (and back)
버전 1.0.0.1 (22.7 KB) 작성자:
Ryan Chladny
This model shows two methods of converting single precision data to unsigned integer equivalents
This model illustrates two methods of converting single precision floating point numbers to equivalent unsigned 32 bit word and 8bit (four byte) data structures and back.
The main purpose is to provide a few different methods of handling this type of conversion and bit level operations in Simulink (and not as a comprehensive guide or solution to a specific problem).
인용 양식
Ryan Chladny (2024). Single precision to uint8 and uint32 conversion (and back) (https://www.mathworks.com/matlabcentral/fileexchange/48575-single-precision-to-uint8-and-uint32-conversion-and-back), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Numeric Types에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!