Matrix of bits into ASCII string
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jan
am 11 Apr. 2014
Beantwortet: Hacene AYADI
am 15 Mär. 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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 11 Apr. 2014
char(bin2dec(reshape(char('0' + YourVector),BitsPerCharacter,[]).'))
Weitere Antworten (1)
Hacene AYADI
am 15 Mär. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!