

Heart disease is the principal cause of mortality and the major contributor to reduced quality of life. The electrocardiogram is used to monitor the cardiovascular system. The correct classification of the beats in electrocardiograms gives an opportunity to have treatment more focused. The manual analysis of the ECG signals faces different problems. For this reason, automated diagnosis systems are fed by ECG signals to detect anomalies. In this paper, we propose a method based on a novel preprocessing approach and neural networks for the classification of heartbeats which is able to classify five categories of arrhythmias in accordance with the AAMI standard. The preprocessing stage allows each beat to have “P wave-R peak-R peak” information. We evaluated the proposed method on the MIT-BIH database, which is one of the most used databases. According to the results, the proposed approach is able to make predictions with the average accuracies of 97%. The average accuracies are compared to different approaches that use different preprocessing and classifier stages. Our approach is superior to that of most of them.