Dissimilarity index based on order pattern analysis
% 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,
%
% Output:
% 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
Cite As
Gaoxiang Ouyang (2024). 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 Compatibility
Windows macOS LinuxCategories
- Sciences > Neuroscience > Human Brain Mapping > EEG/MEG/ECoG >
- Sciences > Neuroscience > Frequently-used Algorithms >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.