Convert a number in Hex to uint64
Version 1.0.0.0 (1.13 KB) by
Richard Pfisterer
A workaround for HEX2DEC for large numbers where rounding error is seen.
For large 64 bit numbers HEX2DEC runs into floating point issues. This function uses the uint64 data type to do the conversion so there are no rounding errors.
Cite As
Richard Pfisterer (2024). Convert a number in Hex to uint64 (https://www.mathworks.com/matlabcentral/fileexchange/26005-convert-a-number-in-hex-to-uint64), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Logical in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |