hello there..
i'd like to convert a text(ascii) to binary by matlab...
for example , word of home to binary code... how can i do this by matlab??? pls help me out...

 Risposta accettata

Andy
Andy il 11 Mag 2011

0 voti

>> dec2bin('home')
ans =
1101000
1101111
1101101
1100101
>> char(bin2dec('1101000'))
ans =
h

3 Commenti

osman yurdakul
osman yurdakul il 11 Mag 2011
i really thank you ;)
gopal krishna
gopal krishna il 7 Ago 2019
i would like to convert binary into ASCII. please help me how can i do??
AdamG2013468
AdamG2013468 il 11 Set 2019
Not suprisingly, there's a function called bin2dec() for that.

Accedi per commentare.

Più risposte (1)

Rahanuma Tasnim
Rahanuma Tasnim il 3 Ago 2021

0 voti

Write a function to convert 952 into binary(ASCII) and show the digital signal considering AMI

Categorie

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by