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?

 Respuesta aceptada

Image Analyst
Image Analyst el 11 de Abr. de 2015

0 votos

Try dec2bin() instead.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Preguntada:

el 11 de Abr. de 2015

Comentada:

el 11 de Abr. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by