Binary values
古いコメントを表示
How do I assign the value in Binary format to a uint8/uint16 variable ?
3 件のコメント
James Tursa
2012 年 5 月 3 日
Please be more specific. Give us a detailed example of sample input and desired output.
Sujan
2012 年 5 月 4 日
Walter Roberson
2012 年 5 月 4 日
uint8(bin2dec(a))
回答 (1 件)
Walter Roberson
2012 年 5 月 3 日
uint8(bin2dec(TheString))
or use bitset()
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!