Purpose: the rapid development and consolidation of broadband wireless access networks of the fourth 4G LTE and fifth 5G NR generations determine the need to find ways to reuse frequencies. A well-known solution to this problem is the concept of cognitive radio. The use of artificial intelligence in radio networks in general and the use of a neural network approach with deep learning for recognizing signals of LTE and NR standards in particular have serious potential for the practical implementation of frequency resource reuse according to the concept of cognitive development. The aim of the work: is to analyze models, methods and algorithms that allow recognizing signals of the NR and LTE standards based on recording samples of radio signals obtained using pre-recorded NR and LTE signals in MatLab software. In this paper, the procedures for scanning and recognizing sections of the spectrum are considered. The operations of training a semantic segmentation network for the identification of these signals in a broadband spectrogram and the use of a trained network for subsequent spectrum sensing and recognition of signals of the NR and LTE standards are investigated. Methods: the method used to test the concept of cognitive radio is spectrum sensing, which results in information about the occupancy of frequency bands in a given location by primary users, and the identification of spectrum sections available for use by secondary users without interfering with the work of primary users in real time. The novelty of the work is the use of a neural network approach in the analysis of the target NR and LTE signal. Results: the model, trained on the basis of a neural network approach and deep learning methods, is able to distinguish between signals of the NR and LTE standards. Theoretical / Practical relevance: the software implementation of spectral sensing is implemented using an extension package in the MatLab environment and allows for experimental testing of a cognitive radio receiver when performing procedures for analyzing the structure of the target signal of the NR and LTE standards based on a neural network approach and deep learning methods.