Learn R Programming

lfda (version 1.1.1)

repmat: Matlab-Syntaxed Repmat

Description

This function mimics the behavior and syntax of repmat() in Matlab it generates a large matrix consisting of an N-by-M tiling copies of A

Usage

repmat(A, N, M)

Arguments

A
original matrix to be used as copies
N
the number of rows of tiling copies of A
M
the number of columns of tiling copies of A

Value

matrix consisting of an N-by-M tiling copies of A