No BSD License  

Highlights from
singlehex2num

5.0

5.0 | 4 ratings Rate this file 5 Downloads (last 30 days) File Size: 3.28 KB File ID: #7689

singlehex2num

by Matthias Nöll

 

19 May 2005 (Updated 20 May 2005)

hex2num for single.

| Watch this File

File Information
Description

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).

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
hexsingle2num

MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
20 May 2005 per isakson

Nice code, fast and does the job.

27 Mar 2007 shlomi israel

simply work good and the documentation is helpful

11 Sep 2008 LD WANG

GOOD job!

16 Dec 2008 Ryan Gamble

Great function! Saved me a couple hours of coding.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
strings Matthias Nöll 22 Oct 2008 07:49:01
hex Matthias Nöll 22 Oct 2008 07:49:01
conversion Matthias Nöll 22 Oct 2008 07:49:01
single Matthias Nöll 22 Oct 2008 07:49:01
utilities Matthias Nöll 22 Oct 2008 07:49:01
string manipulation Matthias Nöll 22 Oct 2008 07:49:01

Contact us at files@mathworks.com