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

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

% Copyright 2018 The MathWorks, Inc.