convert negative integer to n (>32) bits?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 20 de Dic. de 2011
The Fixed Point Toolbox is probably what you want.
5 comentarios
Fangjun Jiang
el 20 de Dic. de 2011
The OP had another question indicating that. But I guess that MATLAB has a Fixed-Point Toolbox too.
Ver también
Categorías
Más información sobre String en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!