Topic: Matrix Manipulation Problem / Level: intermediate

Problem: Write a program to compute the marginal probabilities from a joint probability distribution represented as a matrix.

Run the code to see the output here...