MATLAB: I want to concate two tables vertically.the table has no variable name.how can I do that

concate tables vertically

size of one table is 2*4(contains number) and another is 1*4(contains single charcter),bt ineed a table of 3*4 combining these two table.how?

Best Answer

x=[1 2 3 4;6 7 3 4];
y=['A' 'B' 'C' 'D'];
x=reshape(char(string(x(:))),2,4);
Table=array2table([x;y])