You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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).
Cite As
Ryan Chladny (2026). 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. Retrieved .
Acknowledgements
Inspired by: IEEE single precision floating point number <=> uint 32 converter
General Information
- Version 1.0.0.1 (22.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
