error in using dec2bi()?

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

0 votes

Try dec2bin() instead.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!