Binary string to character string

12 views (last 30 days)
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.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 7 Apr 2016
char(bin2dec(Msg))'

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!