Ältere Kommentare anzeigen
How do I assign the value in Binary format to a uint8/uint16 variable ?
3 Kommentare
James Tursa
am 3 Mai 2012
Please be more specific. Give us a detailed example of sample input and desired output.
Sujan
am 4 Mai 2012
Walter Roberson
am 4 Mai 2012
uint8(bin2dec(a))
Antworten (1)
Walter Roberson
am 3 Mai 2012
uint8(bin2dec(TheString))
or use bitset()
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!