blob: 8fd8999a4b23bf98f947ec93c137148f7530a501 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
function output = h(X)
%function output = h(X)
%X can be a matrix which is converted into a joint variable before calculation
%expects variables to be column-wise
%
%returns the entropy of X, H(X)
if (size(X,2)>1)
mergedVector = MIToolboxMex(3,X);
else
mergedVector = X;
end
[output] = MIToolboxMex(4,mergedVector);
|