MATLAB: Combining char and num variables

charsnumeric variables

I am looking to see if the following is possible; I seem to remember being able to do it, but the method escapes me right now.
a='No.'; (Character/String Value) b=[1:10]'; (Numeric Value) c=[a b];
For c, I am hoping to get the following in one vertical column vertically. Any ideas?
No. 1 2 3 4 5 6 7 8 9 10

Best Answer

You need to use cell arrays
a='No.'; %(Character/String Value)
b=[1:10]'; %(Numeric Value)
c={a b};
Note the curly braces in defining C.