# MATLAB: How can i concatenate array of 3 to form single matrix

3d array; array;

i am very new to matlab, so sorry if i sounded stupid
i just need to get an output of 3 array from my looping and form one single 3d matrix
for example
100 array x 10 array x 12 array and store it as 3d matrix
so that the size will be : 100 x 10 x 12
any idea?
x = 1:100;y = 1:10;z = 1:12;Result = reshape(x, [], 1, 1) + reshape(y, 1, [], 1) + reshape(z, 1, 1, []);
Result = bsxfun(@plus, reshape(x, [], 1, 1), ...                       bsxfun(@plus, reshape(y, 1, [], 1), reshape(z, 1, 1, [])));