Member of the matrix class.
d = repmat(a, b, c)
d = repmat(a, [b, c])
Creates a matrix of repeated elements.
| Name | Description |
| a | Specifies the value of all elements in c. a is a matrix. |
| b | Specifies the number of rows of a elements to create in c. b is a positive integer. |
| c | Specifies the number of columns of a elements to create in c. c is a positive integer. |
| Name | Description |
| d | Returns a b-by-c matrix whose elements are all a. |
A = [1, 2, 3; 4, 5, 6]
D = repmat(A, 3, 2)