Strings:
The MATLAB also handles strings that are a sequence of characters in single quotes. For illustration, using the double function on a string will represent the equivalent numerical value of all characters in the string:
>> double('abcd')
ans =
97 98 99 100
To shift the characters of a string up in the character encoding, an integer value can be added to the string. For illustration, the expression below will shift by one:
>> char('abcd'+ 1)
ans =
bcde