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?

 Risposta accettata

Image Analyst
Image Analyst il 11 Apr 2015

0 voti

Try dec2bin() instead.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by