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?

 Réponse acceptée

Image Analyst
Image Analyst le 11 Avr 2015

0 votes

Try dec2bin() instead.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by