Programs in electrical engineering offer courses in wireless communications, networks and sensors. One of the complex topics in wireless is the phenomenon of fading which degrades the wireless channel and the related issue of fading mitigation to improve the channel conditions through diversity. Often, analytical expressions for the probability density functions of the signal-to-noise ratio are not available making it difficult for the students to understand fading and another coexisting phenomenon of shadowing and the need for diversity. Matlab based approaches can be utilized to supplement the lectures to demonstrate the effects of fading, shadowing and the advantages of diversity and facilitate a better pedagogic experience for the students. This manuscript reports on the use of two Matlab programs to implement diversity combining algorithms to mitigate fading and shadowing. These programs implement diversity techniques, generate the densities, distribution functions, measures of the enhancements in channel characteristics in terms of the average signal-to-noise ratio, amount of fading and the shifts of the peaks of the densities. Results illustrate the potential benefits to the EE students in fully grasping the concepts of fading, shadowing and diversity even when the analytical expressions for the density functions do not exist.