Sets the size (number of elements in rows and columns) of the result for the values passed in the first argument.
a = 1:9;
b = setsize(a, 3, 3);
% b is now a 3x3 matrix, whereas a is 1x9
length. size. reshape (which does the same thing).