repmat
Replicate and tile an array.
📝 Syntax
R = repmat(A, m)
R = repmat(A, m, n)
R = repmat(A, m, n, p …)
R = repmat(A, [m n])
R = repmat(A, [m n p …])
📥 Input argument
A - an array.
m, n, p … - a value: integer
📤 Output argument
R - result array form by tiling.
📄 Description
repmat replicates and tiles an array.
💡 Examples
repmat(1:5, 2)repmat(1:5, [2 3])repmat(1:5, [2 3 4])🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?