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 日

0 投票

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

3 件のコメント

osman yurdakul
osman yurdakul 2011 年 5 月 11 日
i really thank you ;)
gopal krishna
gopal krishna 2019 年 8 月 7 日
i would like to convert binary into ASCII. please help me how can i do??
AdamG2013468
AdamG2013468 2019 年 9 月 11 日
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 ExchangeData Type Conversion についてさらに検索

製品

タグ

質問済み:

2011 年 5 月 11 日

回答済み:

2021 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by