Topic: Matrix Manipulation Problem / Level: advanced

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

Run the code to see the output here...