Skip to content

Commit

Permalink
Take highest amplitude as R peak
Browse files Browse the repository at this point in the history
  • Loading branch information
“Nico” committed Aug 3, 2020
1 parent 03df842 commit b4379ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ECG_Processing/Annotate_ECG_Multi.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b4379ed

Please sign in to comment.