There is described a technique using apparatus for recording and analysing a surface electrocardiogram (ECG) for distinguishing a physiological signal from noise. The technique involves aligning and averaging multiple surface electrogram records taken for repeated pacing sequence with the same interval between pacing stimuli.