ascii to binary

56 views (last 30 days)
osman yurdakul
osman yurdakul on 11 May 2011
Answered: Rahanuma Tasnim on 3 Aug 2021
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...

Accepted Answer

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

Sign in to comment.

More Answers (1)

Rahanuma Tasnim
Rahanuma Tasnim on 3 Aug 2021
Write a function to convert 952 into binary(ASCII) and show the digital signal considering AMI

Categories

Find more on Numeric Types in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!