Add a function that will convert from floating point to IEEE hexadecimal. You currently have an IEEE hexadecimal to floating point conversion function (hex2num). It would be very helpful if you supported its compliment, ie. floating point to IEEE hexadecimal. Using the 'format hex' statement won't work since I need to have access to the bits.
MATLAB: Is it possible to have a function that will convert from floating point to IEEE hexadecimal
MATLAB
Related Question
- Does the fixed-point multiplication block from the Fixed-Point Blockset sometimes produce incorrect results
- Expressing floating point numbers in IEEE standard
- How do i convert decimal to hexadecimal for floating points
- Is it possible to pass and use hexadecimal values in simulink, without converting decimal
- Adding Hexadecimal numbers
- Converting floating-point hexadecimal (string input) to decimal
Best Answer