convert negative integer to n (>32) bits?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 20 Déc 2011
The Fixed Point Toolbox is probably what you want.
5 commentaires
Fangjun Jiang
le 20 Déc 2011
The OP had another question indicating that. But I guess that MATLAB has a Fixed-Point Toolbox too.
Voir également
Catégories
En savoir plus sur String dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!