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 Arguments
Parameter Description
A an array.
m, n, p … a value: integer
📤Output Arguments
Parameter Description
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
reshape
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub