Develop a computer program that allows you to plot the entropy of a source with variable output

Question:

Develop a computer program that allows you to plot the entropy of a source with variable output probabilities. We wish to observe that the maximum source entropy does indeed occur when the source outputs are equally likely. Start with a simple two-output source [m1,m2] with respective probabilities [α, 1 – α], and plot the entropy as a function of the parameter α. Then consider more complex cases such as a three-output source [m1, m2, m3] with respective probabilities [a, b, 1 - a - b]. Be creative with the manner in which the results are displayed.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: