MATLAB: How to combine two matrices

combine matrix

A = [1 2 3; 4 5 6; 7 8 9] B = [10 11 12; 13 14 15]
C = [1 2 3; 4 5 6; 7 8 9; 10 11 12; 13 14 15]

Best Answer

C=[A;B]
or
C=vertcat(A,B)