% DsimOrder Calculate the Dissimilarity index based on order pattern analysis
% Input: X: 1xn time series;
% Y: 1xm time series;
% M: the embedding dimension (common M=3,4 or 5)
% t: delay time of order pattern analysis,
% Dsim: Dissimilarity index between X and Y
% PEx and PEy: permutation entropy of X and Y
% Ref: Ouyang, G., et al. (2010). "Ordinal pattern based similarity analysis for EEG recordings." Clin Neurophysiol 121(5): 694-703.
% revise time: July 18 2013, Ouyang, Gaoxiang, Yan, Jiaqing and Li, Xiaoli
Gaoxiang Ouyang (2022). Dissimilarity index based on order pattern analysis (https://www.mathworks.com/matlabcentral/fileexchange/42697-dissimilarity-index-based-on-order-pattern-analysis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!