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

minrepseq (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: spectral analysis

Requires: MathScript RT Module


b = minrepseq(a)

[b, c] = minrepseq(a)

Legacy Name: seqperiod


Finds the minimum-length repeating sequence in a vector.



Name Description
a Specifies the input array. a is a real array. If a is a 2D array, minrepseq operates along the first non-singleton dimension of a.


Name Description
b Returns the length of the minimum-length repeating sequence.
c Returns the repetitions of the sequence a(1:b) in 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 Not characterized


[b, c] = minrepseq([1 2 3 1 2; 1 2 1 2 1])


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