## 5 Implementation of the Simulation Algorithm
The results of the extensive simulation analysis are presented for a variety of operational parameters including the number of transmitting and receiving antennas on the PU and SU, the SNR values at the position of the SU, the number of detection samples, the amount of PU Tx power, the modulation technique used for the PU signal transmission, and various NU and DDT factors. Generally, the presented results indicate that better ROC curves in terms of detection probability will be yielded when variations in the intensity of NU are followed by an appropriate level of DDT adaptations. Additionally, better shaped ROC curves in terms of the ED precision will be obtained for the ED process employing SLC when SS is performed for a larger Tx power of the PU, a higher number of Rx and Tx chains, a larger number of detection samples, and higher SNRs values at the SU side. The presented analyses of the impact of such factors on the shape of ROC curves can serve as a baseline for the planning and practical development of ED SS using SLC in MIMO-OFDM communications systems. Given the importance of MIMO systems in CRNs, our future work will focus on presenting the results of the analyses indicating how massive MIMO systems influence the performance of ED SS based on SLC. Conceptualization, J.L. ; methodology, J.L. ; software, I.R. ; validation, J.L. and D.B. ; formal analysis, J.L. and I.R. ; investigation, I.R. ; writing--original draft preparation, J.L. and I.R. ; writing--review and editing, J.L. ; visualization, J.L. and I.R. ; supervision, J.L. and D.B. All authors have read and agreed to the published version of the manuscript. This research received no external funding. Not applicable. The authors declare no conflict of interest. ## References

* [PERSON] et al. (2004) [PERSON]; [PERSON]; [PERSON]; [PERSON] Spectrum agile radio: Radio resource measurements for opportunistic spectrum usage. In Proceedings of the IEEE Global Telecommunications Conference (GLOBECOM '04. ), Dallas, TX, USA, 29 November-3 December 2004; pp. 3467-3471. [CrossRef]
* [PERSON] and [PERSON] (2015) [PERSON]; [PERSON]; [PERSON] [PERSON] Analysis of the FM radio spectrum for Internet of Things opportunistic access via Cognitive Radio. In Proceedings of the 2015 IEEE 2 nd World Forum on Internet of Things (WF-IoT), Milan, Italy, 14-16 December 2015; pp. 166-171. [CrossRef]
* [PERSON] (2016) [PERSON] Energy-Detection Based Spectrum Sensing for Cognitive Radio on a Real-Time SDR Platform. Master's Thesis, Department of Electrical Engineering, University of Cape Town, Cape Town, South Africa, 2016. * [PERSON] et al. (2009) [PERSON]; [PERSON]; [PERSON] OFDM for cognitive radio: Merits and challenges. _IEEE Wirel. Commun._**2009**, _16_, 6-15. [CrossRef]
* [PERSON] and [PERSON] (2020) [PERSON]; [PERSON]; [PERSON] A cognitive radio spectrum sensing method for an OFDM signal based on deep learning and cycle spectrum. _Int. J. Dig. Multimed. Broad._**2020**, _2020_, 5069021. [CrossRef]
* [PERSON] and [PERSON] (2008) [PERSON]; [PERSON] _Cognitive Radio Networks_, 1 st ed. ; Auerbach Publications: Boca Raton, FL, USA, 2008; pp. 3-37. * [PERSON] et al. (2017) [PERSON]; [PERSON]; [PERSON]; [PERSON] A Review on MIMO OFDM Technology Basics and More. In Proceedings of the International Conference on Current Trends in Computer, Electrical, Electronics and Communication (CTCEEC), Mysore, India, 8-9 September 2017; pp. 119-124. [CrossRef]
* [PERSON] and [PERSON] (2015) [PERSON]; [PERSON]. Experimental evaluation of performance for spectrum sensing: Matched filter vs energy detector. In Proceedings of the IEEE Colombian Conference on Communication and Computing (IEEE COLCOM 2015), Popayan, Colombia, 13-15 May 2015; pp. 1-6. [CrossRef]
* [PERSON] et al. (2017) [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON] A proposed scheme for dynamic threshold versus noise uncertainty in cognitive radio networks (DTNU). _Wirel. Pers. Commun._**2017**, _96_, 4543-4555.