string convert to binary 8
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how convert string (more than one character, two, three......) to 8 binary
0 commentaires
Réponses (1)
Walter Roberson
le 25 Août 2019
bit_vector = reshape((dec2bin(uint8(TheCharacterVector), 8) - '0').', 1, []);
Voir également
Catégories
En savoir plus sur Numeric Types dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!