Here a sample code is attached which compares the theoretical and practical BER performance of BPSK transmission over Rice Fading channel. Change the Rice Factor K and increase the No. of iterations N for more accurate results.