MATLAB: Converting decimal value to binary

binary

I have to convert decimal value to binary ,in hich my decimal value is in negative and positive
my values are
a=[ 0.0803
0.0726
0.0469
-0.0038
-0.0421]
please help how to convert to binary

Best Answer

http://www.mathworks.in/help/matlab/ref/dec2bin.html. See this. It will do 2's complement for negative numbers