Repmat {rWMBAT}R Documentation

Creates A Large Matrix Consisting Of An m-by-n Tiling Of Copies Of x

Description

Creates a large matrix consisting of an m-by-n tiling of copies of X

Usage

Repmat(X, m, n)

Arguments

X matrix used to make copies of
m row copy number of the result matrix
n colomn copy number of the result matrix

Value

matrix, m-by-n tiling of copies of input matrix

Author(s)

Qian Si,College of William and Mary, Dept. of Physics, 2009

Examples

Repmat(diag(3),2,3)
# diag(3) creates a 3-by-3 indentity matrix

[Package rWMBAT version 2.0 Index]