convert negative integer to n (>32) bits?
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 20 Dec 2011
The Fixed Point Toolbox is probably what you want.
5 Comments
Fangjun Jiang
on 20 Dec 2011
The OP had another question indicating that. But I guess that MATLAB has a Fixed-Point Toolbox too.
See Also
Categories
Find more on String in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!