binary of 0.75

  • Follow


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?
0
Reply mohammad 5/22/2010 2:27:03 PM

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')
0
Reply Walter 5/22/2010 2:58:58 PM


1 Replies
241 Views

(page loaded in 0.03 seconds)

Similiar Articles:













7/20/2012 1:44:50 PM


Reply: