%% Two Matrices
% Create two matrices and concatenate them vertically, first by using square bracket notation, and then by using vertcat.

A = [1 2 3; 4 5 6]
B = [7 8 9]
C = [A; B]
D = vertcat(A,B)

% Copyright 2012 The MathWorks, Inc.