This repository provides source code used for the generation of results in the IEEE-published paper "Fast and accurate approximations for the analysis of energy detection in Nakagami-m channels".