Repeat matrix or N-D array.
Form a block matrix of size m by n, with a copy of matrix A as each element.
If n is not specified, form an m by m block matrix. For copying along more than two dimensions, specify the number of times to copy across each dimension m, n, p, …, in a vector in the second argument.
See also: bsxfun, kron, repelems.
Package: octave