This function uses Taken's method of delays to construct a phase-space representation of vector "x". It then calculates the euclidean distance matrix "D", and thresholds this matrix by "epsilon" to obtain the recurrence matrix (R). In addition, the time delay "tau", embedding dimension "emb", and threshold "epsilon" are all estimated if not provided by the user or left blank (refer to documentation in the function for details).
The recurrence matrix has information regarding the temporal relationship of the high-dimensional phase-space "A"...if there are many repeated trajectories over time, then the recurrence matrix will have many diagonal lines. There are many more sophisticated measurements that can be taken from the recurrence matrix, and many fantastic papers/posts can be found online.
This function is self-contained, i.e. it is not dependent on other functions that need to be downloaded.
Jordan Sorokin (2023). PhaseRecurr(x,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/56308-phaserecurr-x-varargin), MATLAB Central File Exchange. 取得済み .
プラットフォームの互換性Windows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
improved "find_dist" efficiency to perform up to 3x faster
changed "smooth" to "filter" for tau estimation to remove the dependency on the curve fitting toolbox