Mutual information between two vectors by using Histograms.

Hello,
I have two auto-correlated vectors( two vector which are simulated as network traffic) and I want to see how much are they correlated to each other by using Mutual information. because of some problem I want to find the mutual information between them by using histograms. First I must find the histograms and then mutual information.
I found a good file(as you can see below) but it is for matrix not vectors, (<http://www.mathworks.com/matlabcentral/fileexchange/13289-fast-mutual-information-of-two-images-or-signals/content/hist2.m>)
I am searching for a code like that but for vectors. Is there any ? Thanks in advance.

 採用された回答

HU xb
HU xb 2013 年 6 月 11 日
編集済み: HU xb 2013 年 6 月 11 日

0 投票

I have uploaded the function with a very simple form, It is also suited for vectors.

2 件のコメント

Shirin Dezfool
Shirin Dezfool 2013 年 6 月 11 日
Thanks a lot.
ahmed silik
ahmed silik 2017 年 8 月 14 日
thank for all

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2013 年 5 月 31 日

コメント済み:

2017 年 8 月 14 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by