error in using dec2bi()?

2 次查看(过去 30 天)
Ameligege
Ameligege 2015-4-11
评论: Ameligege 2015-4-11
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?

采纳的回答

Image Analyst
Image Analyst 2015-4-11
Try dec2bin() instead.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by