repmat: Matlab-Syntaxed Repmat

View source: R/helpers.R

repmatR Documentation

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


terrytangyuan/lfda documentation built on July 19, 2023, 2:01 p.m.