An associative memory is a binary relationship between inputs and outputs, which is stored in an M matrix. In this paper, we propose a modification of the Steinbuch Lernmatrix model in order to process real-valued patterns, avoiding binarization processes and reducing computational burden. The proposed model is used in experiments with noisy environments, where the performance and efficiency of the memory is proven. A comparison between the proposed and the original model shows a good response and efficiency in the classification process of the new Lernmatrix.