string convert to binary 8
Ältere Kommentare anzeigen
how convert string (more than one character, two, three......) to 8 binary
Antworten (1)
Walter Roberson
am 25 Aug. 2019
bit_vector = reshape((dec2bin(uint8(TheCharacterVector), 8) - '0').', 1, []);
1 Kommentar
LEKHCHINE Somia
am 25 Aug. 2019
Kategorien
Mehr zu Cell Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!