MATLAB: Making a string and number matrix

matrix array

I am trying to make a matrix which has strings and numbers such as:
a b c d
1 3 4 5
5 6 7 8
9 10 11 12
where a,b,c,d represent a word of sentence with no numerical value, how can I do that?

Best Answer

With Cell Arrays, e.g.,
C={'a','b'; 3 , 4}