Mostrar comentarios más antiguos
How do I assign the value in Binary format to a uint8/uint16 variable ?
3 comentarios
James Tursa
el 3 de Mayo de 2012
Please be more specific. Give us a detailed example of sample input and desired output.
Sujan
el 4 de Mayo de 2012
Walter Roberson
el 4 de Mayo de 2012
uint8(bin2dec(a))
Respuestas (1)
Walter Roberson
el 3 de Mayo de 2012
uint8(bin2dec(TheString))
or use bitset()
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!