From: mohammad on
hi there
i want to have the binary form of the fractional number 0.75 that is 0.11 in matlab.
which function can do this?
From: Walter Roberson on
mohammad wrote:

> i want to have the binary form of the fractional number 0.75 that is
> 0.11 in matlab.
> which function can do this?

There is no provided function that can do that directly.

Hint: the reverse is

NumAsFloat32 = typecast( uint32( bin2dec( NumAsString ) ), 'single')