Binary string to character string

29 visualizzazioni (ultimi 30 giorni)
Amrita  K
Amrita K il 7 Apr 2016
Modificato: Amrita K il 7 Apr 2016
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.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 7 Apr 2016
char(bin2dec(Msg))'
  1 Commento
Amrita  K
Amrita K il 7 Apr 2016
Modificato: Amrita K il 7 Apr 2016
Thank you Sir.. It's working

Accedi per commentare.

Più risposte (0)

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by