Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

repeatmx (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: matrix

Requires: MathScript RT Module


d = repeatmx(a, b, c)

d = repeatmx(a, [b, c])

Legacy Name: repmat


Creates a matrix of repeated elements.



Name Description
a Specifies the value of all elements in d. a is a matrix of any data type.
b Specifies the number of rows of a elements to create in d. b is a positive integer.
c Specifies the number of columns of a elements to create in d. c is a positive integer.


Name Description
d Returns a b-by-c matrix whose elements are all a.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Yes


A = [1, 2, 3; 4, 5, 6]
D = repeatmx(A, 3, 2)


Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit