%% Reshape Multidimensional Array into Matrix
% Reshape a 3-by-2-by-3 array of zeros into a 9-by-2 matrix.

A = zeros(3,2,3);
B = reshape(A,9,2)

% Copyright 2012 The MathWorks, Inc.