Code covered by the BSD License  

Highlights from
Convert a number in Hex to uint64

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 1.13 KB File ID: #26005

Convert a number in Hex to uint64

by Richard Pfisterer

 

02 Dec 2009

A workaround for HEX2DEC for large numbers where rounding error is seen.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data exploration Richard Pfisterer 02 Dec 2009 12:17:50
embedded code Richard Pfisterer 02 Dec 2009 12:17:50
mathematics Richard Pfisterer 02 Dec 2009 12:17:50

Contact us at files@mathworks.com