File Exchange

image thumbnail

singlehex2num

version 1.0 (3.28 KB) by

hex2num for single.

2 Downloads

Updated

No License

Converts an up to 8 character string being the IEEE 754 reprensentation of a single precision float to a double.

singlehex2num is hex2num for single presicion IEEE 754 representations.

singlehex2num was derived from hexsingle2num with bugfix for denormalized numbers (Exponent changed from -1022 to -126).

Comments and Ratings (7)

Gernot Druml

This was very helpful to me. Thanks

good job!!!

Paul Kassebaum

This was extremely helpful to me :)

Ryan Gamble

Great function! Saved me a couple hours of coding.

LD WANG

GOOD job!

shlomi israel

simply work good and the documentation is helpful

per isakson

Nice code, fast and does the job.

MATLAB Release
MATLAB 6.5.1 (R13SP1)
Acknowledgements

Inspired by: hexsingle2num

Inspired: Load Adobe Swatch Exchange as colormap

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video