Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

minrepseq (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

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