%% 3-D Block Array
% Repeat copies of a matrix into a 2-by-3-by-2 block arrangement.

A = [1 2; 3 4]

%

B = repmat(A,[2 3 2])

% Copyright 2015 The MathWorks, Inc.