matrixProfile
Syntax
Description
Return Matrix Profile
returns the matrix profile of the time series
MP
= matrixProfile(X
,len
)X
, which is the vector of minimum z-normalized Euclidean distances
between each subsequence of X
with length len
and its closest neighbor.
You can use the function findDiscord
to find the locations of the top discords 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
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.
Version History
Introduced in R2024b