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!!
回答(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 中查找有关 String 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!