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

 采纳的回答

Andy
Andy 2011-5-11
>> dec2bin('home')
ans =
1101000
1101111
1101101
1100101
>> char(bin2dec('1101000'))
ans =
h

3 个评论

i really thank you ;)
i would like to convert binary into ASCII. please help me how can i do??
Not suprisingly, there's a function called bin2dec() for that.

请先登录,再进行评论。

更多回答(1 个)

Rahanuma Tasnim
Rahanuma Tasnim 2021-8-3

0 个投票

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

类别

在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by