mutualinfo(x, y,nBins, ifplot)

バージョン 1.1 (2.08 KB) 作成者: Wei-Rong Chen
This function calculates the mutual information of X and Y
ダウンロード: 532
更新 2015/11/9

ライセンスの表示

% Calculate the mutual information between x and y using the simple histogram method.
% Jeffrey-Perks law is assumed (adding 0.5 to all cells before MI estimation).
% Usage: MI = mutualinfo(x, y,nBins, ifplot)
% 'nBins' : number of bins for each dimension.
% mutual informaiton: I(X;Y) = sum(sum(p(x,y)*log(p(x,y)/p(x)p(y)))
% See "Information Theory" (Shannon, 1948)
% This code is inspired by:
% Iskarous, K., Mooshammer, C., Hoole, P., Recasens,
% D., Shadle, C. H., Saltzman, E., and Whalen, D. H. (2013).
% "The coarticulation/invariance scale: Mutual information
% as a measure of coarticulation resistance, motor synergy,
% and articulatory invariance," J. Acoust. Soc. Am. 134, 1271-1282.
%
% Requirement: "hist3" in Statistics and Machine Learning Toolbox

引用

Wei-Rong Chen (2026). mutualinfo(x, y,nBins, ifplot) (https://jp.mathworks.com/matlabcentral/fileexchange/50320-mutualinfo-x-y-nbins-ifplot), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2015a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStatistics and Machine Learning Toolbox についてさらに検索
コミュニティ
バージョン 公開済み リリース ノート
1.1

.
.

1.0.0.0