Topic: Matrix Manipulation Problem / Level: intermediate

Problem: Write a program to calculate the Shannon entropy of a distribution represented by a matrix.

Run the code to see the output here...