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
466.0 次下载
更新时间 2016/9/1

查看许可证

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 CenterMATLAB Answers 中查找有关 Numeric Types 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.1

Updated license

1.0.0.0