File Exchange

image thumbnail

Permutation entropy

version 1.1 (1.46 KB) by

% Calculate the permutation entropy

23 Downloads

Updated

View License

% Calculate the permutation entropy

% Input: y: time series;
% m: order of permuation entropy
% t: delay time of permuation entropy,

% Output:
% pe: permuation entropy
% hist: the histogram for the order distribution

%Ref: G Ouyang, J Li, X Liu, X Li, Dynamic Characteristics of Absence EEG Recordings with Multiscale Permutation %

% Entropy Analysis, Epilepsy Research, doi: 10.1016/j.eplepsyres.2012.11.003
% X Li, G Ouyang, D Richards, Predictability analysis of absence seizures with permutation entropy, Epilepsy %

% Research, Vol. 77pp. 70-74, 2007

Comments and Ratings (4)

Lea

Lea (view profile)

Thanks!

Zhiguang

quite good, please notice that the log base is natural. Fast enough, compute 2 order PE with time series in length of 1,400,000+ consumes about 30s.

Updates

1.1

add the histogram for the order distribution

MATLAB Release
MATLAB 7 (R14)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video