Matrix of bits into ASCII string
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jan
el 11 de Abr. de 2014
Respondida: Hacene AYADI
el 15 de Mzo. de 2018
Hi. I have a problem. I have matrix of bits ([0 1 1 1 0 1 1 1 ...], every column is 1 bit) where every 8 bits are one char. I need to convert matrix into ASCII string. How can i do that?
2 comentarios
Respuesta aceptada
Walter Roberson
el 11 de Abr. de 2014
char(bin2dec(reshape(char('0' + YourVector),BitsPerCharacter,[]).'))
Más respuestas (1)
Hacene AYADI
el 15 de Mzo. de 2018
@Walter Roberson plz i have matrix of binary and i want to convert to char my matrix of 64bis and size(2,94) i need help and thx
0 comentarios
Ver también
Categorías
Más información sobre Data Type Conversion 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!