title: Determining probability mass function of random variable
body: <p>If we have a discrete random variable x and the data pertaining to it in X(n), how in matlab can we determine the probability mass function pmf(X)? </p>