The exercise asks students to implement a Matlab function conditionalentropy(p) that computes the conditional entropy of X given Y from a 2D joint probability matrix . It includes specific test cases to verify correctness, such as deterministic and uniform distributions.
Conditions: Input p is assumed to be a 2D joint probability array .; Students may reuse existing entropy() and jointentropy() routines.
The exercise asks students to implement a Matlab function conditionalentropy(p) that computes the conditional entropy of X given Y from a 2D joint probability matrix . It includes specific test cases to verify correctness, such as deterministic and uniform distributions.
Conditions: Input p is assumed to be a 2D joint probability array .; Students may reuse existing entropy() and jointentropy() routines.