repmat: Replicate matrix to create a larger one

Description

From: http://haky-functions.blogspot.fi/2006/11/repmat-function-matlab.html (accessed 27.3.2015)

Usage

1
repmat(X, m, n)

Arguments

X

A [I,J] matrix or J element vector, Matrix used as such, vector coerced to a row matrix with dim(X)=[1,J].

m

[1,1] integer, Replication count vertically

n

[1,1] integer, Replication count horizontally

Value

[m*I,n*J] matrix, Replicated data


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.