Afficher commentaires plus anciens
How do I assign the value in Binary format to a uint8/uint16 variable ?
3 commentaires
James Tursa
le 3 Mai 2012
Please be more specific. Give us a detailed example of sample input and desired output.
Sujan
le 4 Mai 2012
Walter Roberson
le 4 Mai 2012
uint8(bin2dec(a))
Réponses (1)
Walter Roberson
le 3 Mai 2012
uint8(bin2dec(TheString))
or use bitset()
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!