Binary string to character string

29 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))'
  1 Comment
Amrita  K
Amrita K on 7 Apr 2016
Edited: Amrita K on 7 Apr 2016
Thank you Sir.. It's working

Sign in to comment.

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!