MATLAB: How to convert decimal to binary form along with fractional values

decimal to binaryMATLAB

how convert decimal to binary form if the decimal number having fractional values, generally for decimal number 159 i use matlab code de2bi(159,10), if the same number having 159.0178 then how to convert binary form.

Best Answer

Hi Rajesh,
A similar question is asked and answered in this
Hope this helps.
Regards,
Sriram
Related Question