Binary string to character string

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.

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 7 日

0 投票

char(bin2dec(Msg))'

1 件のコメント

Amrita  K
Amrita K 2016 年 4 月 7 日
編集済み: Amrita K 2016 年 4 月 7 日
Thank you Sir.. It's working

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

タグが未入力です。

質問済み:

2016 年 4 月 7 日

編集済み:

2016 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by