Function Reference
— Function File: repmat (A, m, n)
— Function File: repmat (A, [m n])
— Function File: repmat (A, [m n p ...])

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.