%% 3-D Array of Ones
% Create a 2-by-3-by-4 array of ones.

X = ones(2,3,4);

size(X)

% Copyright 2012 The MathWorks, Inc.