I am using decode and forward scheme for dual hop wireless communication system. first hop is operating in THz frequency range (alpha mu fading with pointing error) and the second hop is operating in RF frequency range (Rayleigh fading). The end to end SNR of the mixed THz-RF wireless system can be expressed as gamma(e) = min(gamma(1), gamma(2)), where gamma(1) and gamma(2) are the SNR of first and second hop respectively.
I have derived the PDF and CDF of the gamma(e) and plotted the analytical results for outage probability and average BER .
I just want a simulation MATLAB code for this mixed THz-RF wireless communication system with decode and forward scheme.