This is a code package related to the follow scientific article: "Aggregate Hardware Impairments Over Mixed RF/FSO Relaying Systems With Outdated CSI," in IEEE Transactions on Communications, vol. 66, no. 3, pp. 1110-1123, March 2018.
The package contains a simulation environment, based on Matlab, that reproduces the analytical and Monte Carlo simulations of Málaga distribution.
This package contains 2 files:
1- "malagaPDF.m" returns the analytical expression of the probability density function (PDF) of Málaga distribution.
2- "main.m" validates the cumulative distribution function (CDF) by comparing the analytical and Monte Carlo simulations.
See each file for further documentation.
This code package is licenced under the GPLv3 license. If you in any way use this code for research that results in publications, please cite our original article listed above.