repmat: Repeat copies of a matrix or a vector just like MATLAB's...

Description Usage Arguments Value Examples

Description

Repeat copies of a matrix or a vector just like MATLAB's repmat function

Usage

1
repmat(X, m, n)

Arguments

X

a matrix or a vector

m

Number of row repeats

n

Number of column repeats

Value

A matrix with associated row and column repeats

Examples

1
repmat(matrix(rnorm(2*2),ncol=2),m=2,n=3)

ericstrobl/RCIT documentation built on June 5, 2019, 9:07 a.m.