Note: All mfiles are from the folder http://www.math.unl.edu/~bdeng1/Teaching/math439/LectureNotes/mfilech1/

  1. Study the mfile ‘binaryentropyfunction.m’. Modify it to plot the graph of

                           R(p) = (-p lg(p) – (1-p) lg(1-p)) / (p+2(1-p))

            in the interval [0,1]. It is the source rate function of a binary channel with symbol times 1, 2.

  1. Study the mfiles ‘ch1meanrate1.m’. Modify it to plot the mean rate R8 only.  
  2. Study the mfiles ‘ch1meanrate2.m’. Modify it to plot the mean rate R12 only when the bases are paired.