shannon.m
来自「有用的几个动力学物理量。包括自相关函数(acorr.m)」· M 代码 · 共 21 行
M
21 行
% function ent=shannon(z,bin,depth)%% calculate the approximate shannon entropy of a time series using a bin% bin encoding and depth symbol symbol sequences. The entropy is% given by % sum P log P% where P is the probability of any given symbol sequence occuring, % and the summation is over all symbol sequences (of depth symbols% from a bin symbol alphabet).%% The binining is a uniform population binning.%% defualts:% bin = 2% depth = 3%% implementation is shannon.c%% Michael Small% 8/10/04
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?