I have first converted a text message to binary... Now I want to reverse back the binary string to character string.
Msg = dec2bin[input('text=', 's']
Now when m trying bin2dec.. M not getting the text msg.

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 7 Apr. 2016

0 Stimmen

char(bin2dec(Msg))'

1 Kommentar

Amrita  K
Amrita K am 7 Apr. 2016
Bearbeitet: Amrita K am 7 Apr. 2016
Thank you Sir.. It's working

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by