string convert to binary 8
Show older comments
how convert string (more than one character, two, three......) to 8 binary
Answers (1)
Walter Roberson
on 25 Aug 2019
bit_vector = reshape((dec2bin(uint8(TheCharacterVector), 8) - '0').', 1, []);
1 Comment
LEKHCHINE Somia
on 25 Aug 2019
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!