Matrix of bits into ASCII string
6 ビュー (過去 30 日間)
古いコメントを表示
Hi. I have a problem. I have matrix of bits ([0 1 1 1 0 1 1 1 ...], every column is 1 bit) where every 8 bits are one char. I need to convert matrix into ASCII string. How can i do that?
2 件のコメント
採用された回答
Walter Roberson
2014 年 4 月 11 日
char(bin2dec(reshape(char('0' + YourVector),BitsPerCharacter,[]).'))
その他の回答 (1 件)
Hacene AYADI
2018 年 3 月 15 日
@Walter Roberson plz i have matrix of binary and i want to convert to char my matrix of 64bis and size(2,94) i need help and thx
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!