y=char(c)| Inputs | |
c |
A two-dimensional integer array. |
| Outputs | |
y |
An array of characters of the same size as the input. |
>>a=['abc';'def'];
>>a
abc
def
>>// Convert to a numeric array
>>b=double(a)
>>b
[:,1:3]
97 98 99
100 101 102
>>// back to character array
>>char(b)
abc
def