The enhancement of the P and T component waves especially in cases where the amplitude of the recorded noise exceeds that of the component waves is presented. A linear model is proposed for representation of the electrocardiogram (ECG) from a signal processing perspective whereby, enhancement of P and T waves is achieved by elimination of weak interfering components whose frequency range exceeds the fundamental repetition frequency of the recorded ECG. The algorithm requires a priori estimation of the QRS waveforms. The remainder electrogram (RECG) obtained is modeled as the output of an all-pole filter excited by the sequence resulting from the convolution of the wavelets and the impulse train.