From b4379ed35a3ea3c0551dff8661b0b99c5e14073a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNico=E2=80=9D?= <“nicolas.pilia@kit.edu”> Date: Mon, 3 Aug 2020 17:04:58 +0200 Subject: [PATCH] Take highest amplitude as R peak --- ECG_Processing/Annotate_ECG_Multi.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ECG_Processing/Annotate_ECG_Multi.m b/ECG_Processing/Annotate_ECG_Multi.m index cce5f14..ed40593 100644 --- a/ECG_Processing/Annotate_ECG_Multi.m +++ b/ECG_Processing/Annotate_ECG_Multi.m @@ -95,7 +95,7 @@ FPT_Cell{i}=Check_R_Peaks_Multi(signal(:,i),samplerate,FPT_MultiChannel); else %Detect QRS complexes in the ecg signal - FPT_Cell{i}=QRS_Detection(signal(:,i),samplerate, 'peaksQRS');%Detection of R peaks in every ecg lead + FPT_Cell{i}=QRS_Detection(signal(:,i),samplerate);%Detection of R peaks in every ecg lead end if isempty(FPT_Cell{i}) %Check if FPT table is empty flagemptyFPT=flagemptyFPT+1;