matlab实现熵、联合熵和条件熵函数的n个变量的计算

收录时间:2019-01-09
资源分类:Matlab 工具:MATLAB 7.6 (R2008a)

matlab实现熵、联合熵和条件熵函数的n个变量的计算

 

entropy, joint entropy and conditional entropy function for n variables

for entropy

H = entropy(S)

this command will evaluate the entropy of S, S should be row matrix

H = entropy([X;Y;Z])

this command will find the joint entropy for the 3 variables

H = entropy([X,Y],[Z,W])

this will find H(X,Y/Z,W).. you can use it for any combination of joint entropies

 

Please validate this function before using it

文件下载列表
entropy.zip (2.32KB)  
附件内容(只显示3中的2个)
entropy.m  jentropy.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备14040384号