According to an embodiment of the present invention, a method for processing an electrocardiogram (ECG) signal comprises: a step of specifying a reference point, a starting point, and an ending point for each of two or more sample waveform units collected from an ECG signal a step of comparing a section between the starting point and the ending point of each sample waveform unit and a section between a starting point and an ending point of a reference waveform unit while aligning the reference point of the sample waveform unit with the reference waveform unit to store information about a loss section of the sample waveform unit compared to the reference waveform unit and a step of referring to the stored information about the loss section to calculate an ensemble average of the two or more sample waveform units in the section between the starting point and the ending point of the reference waveform unit. The reference point is specified based on a prescribed feature point included in each sample waveform unit.COPYRIGHT KIPO 2016본 발명의 일 태양에 따르면, 심전도(ECG) 신호를 처리하기 위한 방법으로서, 심전도 신호로부터 수집되는 둘 이상의 샘플(Sample) 파형 단위 각각에 대하여 기준점, 시작점 및 끝점을 특정하는 단계, 상기 둘 이상의 샘플 파형 단위 각각을 기준점을 기준으로 하여 기준(Reference) 파형 단위와 겹쳐지도록 정렬시킨 상태에서, 상기 둘 이상의 샘플 파형 단위 각각의 시작점과 끝점 사이의 구간과 상기 기준 파형 단위의 시작점과 끝점 사이의 구간을 대비함으로써, 상기 둘 이상의 샘플 파형 단위 각각이 상기 기준 파형 단위와 대비하여 가지는 유실 구간에 관한 정보를 저장하는 단계, 및 상기 저장된 유실 구간에 관한 정보를 참조로 하여, 상기 기준 파형 단위의 시작점과 끝점 사이에 해당하는 구간에서의, 상기 둘 이상의 샘플 파형 단위의 앙상블 평균(Ensemble Average)을 산출하는 단계를 포함하고, 상기 기준점은 상기 둘 이상의 샘플 파형 단위 각각에 포함되는 기설정된 특징점에 기초하여 특정되는 방법이 제공된다.