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 日

0 投票

Try dec2bin() instead.

1 件のコメント

Ameligege
Ameligege 2015 年 4 月 11 日
thanks sir it works.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

質問済み:

2015 年 4 月 11 日

コメント済み:

2015 年 4 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by