I have a text file in which each row contains one 60-bit number representing a signed fixed point number with 44-bit fraction, i.e. a sfi(x,60,44) object.
I cannot find a method to convert this binary string back to a signed floating point object in Matlab.
x = '000000000000000100000000000000000000000000000000000000000000' corresponds to the decimal number '1' in my format.
yields the wrong result.
How to do this correctly?
I found this solution but I cannot use the reinterpretcast function since the wordlength does not match with a int32 or int64 datatype.