matrixProfile
Compute matrix profile of between all pairs of subsequences in a multivariable time series
Since R2024b
Syntax
Description
Return Matrix Profile
returns the matrix profile of the univariable or multivariable time
series MP
= matrixProfile(X
,len
)X
. The matrix profile is the vector of minimum z-normalized
Euclidean distances between each subsequence of X
with length
len
and its closest neighbor.
If
X
is a vector, then the software treats it as a single channel.If
X
is a matrix, then the software computes the matrix profile independently for each column (multivariable solution).
You can use the functions findDiscord
and findMotif
to find the locations of the top discords and motifs in MP
.
[___] = matrixProfile(___,Name=Value)
specifies options using one or more name-value arguments in addition to the arguments in
previous syntaxes. For example, to use parallel processing, set
UseParallel
to true
.
Plot Matrix Profile
matrixProfile(___)
plots an interactive plot of the
matrix profile. You can use this syntax with any of the previous input-argument
combinations.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
References
[1] Yeh, Chin-Chia Michael, et al. “Matrix Profile I: All Pairs Similarity Joins for Time Series: A Unifying View That Includes Motifs, Discords and Shapelets.” 2016 IEEE 16th International Conference on Data Mining (ICDM), IEEE, 2016, pp. 1317–22. DOI.org (Crossref), https://doi.org/10.1109/ICDM.2016.0179.
[2] Zhu, Yan, et al. “Matrix Profile II: Exploiting a Novel Algorithm and GPUs to Break the One Hundred Million Barrier for Time Series Motifs and Joins.” 2016 IEEE 16th International Conference on Data Mining (ICDM), IEEE, 2016, pp. 739–48. DOI.org (Crossref), https://doi.org/10.1109/ICDM.2016.0085.
Extended Capabilities
Version History
Introduced in R2024bSee Also
findDiscord
| findMotif
| distanceProfile
| similarityDistance