Here, A sample code evaluating BER performance of Decode and Forward(DF) relay based Cooperative Communication over Rayleigh fading channel is attached for reference. It shows the perfect match between theoretical performance(from standard book on cooperative communication, NPTEL or IEEE papers) and simulation results.