What is the command to find out the ASCII coda of a string T
What is the command to find out the ASCII coda of a string \"Thanks:-)\" using the function uint80? If you are using Octava. be aware that although Octave accepts both apostrophes and quotation marks as delimiters of a string. Matlab only accepts apostrophes Please make your command compatible with Matlab.
Solution
MATLAB commands:
>>char(ascii_codes)
gives the strings of the ascii_codes
Like
s = 67 104 101 103 103
[char(s)]
ans =
Chegg
if we wnat convert the string to ascii code then use double command
like
s=double(\'Chegg\')
s =
67 104 101 103 103
