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...

 Respuesta aceptada

Andy
Andy el 11 de Mayo de 2011

0 votos

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

3 comentarios

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

Iniciar sesión para comentar.

Más respuestas (1)

Rahanuma Tasnim
Rahanuma Tasnim el 3 de Ag. de 2021

0 votos

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

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 11 de Mayo de 2011

Respondida:

el 3 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by