Effacer les filtres
Effacer les filtres

ascii to binary

43 vues (au cours des 30 derniers jours)
osman yurdakul
osman yurdakul le 11 Mai 2011
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...

Réponse acceptée

Andy
Andy le 11 Mai 2011
>> dec2bin('home')
ans =
1101000
1101111
1101101
1100101
>> char(bin2dec('1101000'))
ans =
h
  3 commentaires
gopal krishna
gopal krishna le 7 Août 2019
i would like to convert binary into ASCII. please help me how can i do??
AdamG2013468
AdamG2013468 le 11 Sep 2019
Not suprisingly, there's a function called bin2dec() for that.

Connectez-vous pour commenter.

Plus de réponses (1)

Rahanuma Tasnim
Rahanuma Tasnim le 3 Août 2021
Write a function to convert 952 into binary(ASCII) and show the digital signal considering AMI

Catégories

En savoir plus sur Numeric Types dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by