Stream of binary to decimal value
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi I am trying to convert every 8 bit of binary values from binary string such as A=[011101010..] to the decimal values and store it back into original matrix dimension. Unfortunately there is no such thing like str=bin2dec(A,8). This is my work for trasmitter part: K= [251 252 0 0; 252 255 3 4; 1 0 250 255, 0 3 255 255] binary value of dectobin(K,8) is A=11111011111111000000000100000000111111001111111100000000000000110000000000000011111110101111111100000000000001001111111111111111
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
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!