string convert to binary 8
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
how convert string (more than one character, two, three......) to 8 binary
0 comentarios
Respuestas (1)
Walter Roberson
el 25 de Ag. de 2019
bit_vector = reshape((dec2bin(uint8(TheCharacterVector), 8) - '0').', 1, []);
Ver también
Categorías
Más información sobre Numeric Types en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!