Binary values
Mostra commenti meno recenti
How do I assign the value in Binary format to a uint8/uint16 variable ?
3 Commenti
James Tursa
il 3 Mag 2012
Please be more specific. Give us a detailed example of sample input and desired output.
Sujan
il 4 Mag 2012
Walter Roberson
il 4 Mag 2012
uint8(bin2dec(a))
Risposte (1)
Walter Roberson
il 3 Mag 2012
uint8(bin2dec(TheString))
or use bitset()
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!