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 Exchange에서 Data 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