how i can calculate mutual information for 2 binary sequence?
4 次查看(过去 30 天)
显示 更早的评论
I have "<88200x1 double>" binary sequences and dont know how to calculate mutual information for this 2 binary sequence. I'm now user matlab, please help me :D
0 个评论
回答(2 个)
HU xb
2013-6-11
I think you should change the data to uint8 or uint16 format.
I have uploaded the function with a very simple form, It is also suited for vectors.
you also can try CCRE,which is more general than the Shannon Entropy. if you prefer the double data type,the data is treated as continuous. http://www.mathworks.com/matlabcentral/fileexchange/41699-ccre-for-multi-modal-image-registration
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!