apaMatrix.MatrixProfile.WithIndex(series, windowSize)
Excel
=apaMatrix.MatrixProfile.WithIndex(series, windowSize)Result
Returns the matrix profile and the 1-based matrix profile index for a univariate time series.
Syntax
series: r x 1 or 1 x r data vector containing a time series
windowSize: length of the subsequences (window size)
Algorithm
The calculation is identical to apaPatternRecognition.MatrixProfile.
Remarks
The result is a k x 2 matrix with k = r − windowSize + 1, the matrix profile in the first and the matrix profile index in the second column.
