minrepseq (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

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])

文章是否对您有帮助?

没有帮助