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

Syntax

b = minrepseq(a)

[b, c] = minrepseq(a)

Legacy Name: seqperiod

Description

Finds the minimum-length repeating sequence in a vector.

Examples

Inputs

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.

Outputs

Name Description
b Returns the length of the minimum-length repeating sequence.
c Returns the repetitions of the sequence a(1:b) in a.

Details

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

Examples

[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