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

seqperiod (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the spectral analysis class.

Syntax

b = seqperiod(a)

[b, c] = seqperiod(a)

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, seqperiod 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] = seqperiod([1 2 3 1 2; 1 2 1 2 1])


Resources


 

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