Why the function "bi2de" only returns non-negative integers, when the description says it returns non-negative real numbers!
4 ビュー (過去 30 日間)
古いコメントを表示
I read that the function bi2de takes any binary vector - "a vector composed of only zeros and ones" and returns a non-negative real number. But, I tried it many times it returns positive integers!
0 件のコメント
回答 (1 件)
Walter Roberson
2019 年 9 月 1 日
Not sure where you are reading that. The document says
d =bi2de(b) converts a binary row vector b to a nonnegative decimal integer.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!