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