- `B = repmat (A, M, N)`
- `B = repmat (A, M, N, P, ...)`
- `B = repmat (A, [M N ...])`

Repeat copies of `A` to form a larger array.

The repetition counts may be supplied as separate scalar arguments or as a
vector of dimensions.

See also: `reshape`, `ones`, `kron`.

### References

- https://www.mathworks.com/help/matlab/ref/repmat.html
- https://octave.sourceforge.io/octave/function/repmat.html
