string convert to binary 8
2 ビュー (過去 30 日間)
古いコメントを表示
how convert string (more than one character, two, three......) to 8 binary
0 件のコメント
回答 (1 件)
Walter Roberson
2019 年 8 月 25 日
bit_vector = reshape((dec2bin(uint8(TheCharacterVector), 8) - '0').', 1, []);
参考
カテゴリ
Help Center および File Exchange で Numeric Types についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!