%% Horizontal Stack of Column Vectors
% Horizontally stack a column vector four times.

A = (1:3)';  
B = repmat(A,1,4)

% Copyright 2015 The MathWorks, Inc.