error in using dec2bi()?

3 views (last 30 days)
Ameligege
Ameligege on 11 Apr 2015
Commented: Ameligege on 11 Apr 2015
Dear all,
number=3.77
integerf=fix(number)
binnumber=dec2bi(integerf);
the error msg is "Undefined function 'dec2bi' for input arguments of type 'double'."
can anyone help me to solve this error, please?

Accepted Answer

Image Analyst
Image Analyst on 11 Apr 2015
Try dec2bin() instead.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!