Navigation

Operators and Keywords

Function List:

C++ API

Function File: repmat (A, m)
Function File: repmat (A, m, n)
Function File: repmat (A, m, n, p …)
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. 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: repelems.

Package: octave