convert negative integer to n (>32) bits?
1 回表示 (過去 30 日間)
古いコメントを表示
I need convert negative integer to n (>32) bits binary. I fould 'Integer to Bit Converter' block having limit of number of bits up to 32, and functions 'de2bi' or 'dec2bin' only applicable for non-negtive integer. What can I do? Many thanks!!
5 件のコメント
回答 (1 件)
Walter Roberson
2011 年 12 月 20 日
The Fixed Point Toolbox is probably what you want.
5 件のコメント
Fangjun Jiang
2011 年 12 月 20 日
The OP had another question indicating that. But I guess that MATLAB has a Fixed-Point Toolbox too.
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!