MATLAB: Converting Character to Decimal ASCII Code

Status
Not open for further replies.

ee_expert2000

Member level 4
Joined
Mar 14, 2005
Messages
71
Helped
10
Reputation
20
Reaction score
8
Trophy points
1,288
Activity points
1,919
matlab ascii

Hi All,
I am looking for a MATLAB function that converts a character (e.g., 'D') to its ASCII equivalent ( i.e., 68 ) .
The function char does the reverse conversion.
Basically, I want to convert a text message to its ASCII codes, process that code, and go back to the message.

Best Regards
 

matlab ascii code

check in matlab centeral there are lot of basic stuffs there
 

matlab char to ascii

hi
unicode2native this command will help to convert
for syntex check help
unicode2native(I)
ans =
73
 
ascii code matlab

You may try this too:
double('I')
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…