This is the complete implementation of the R-peak detector from Song, Cho, Kim & Lee proposed in "New real-time heartbeat detection method using the angle of a single-lead electrocardiogram", Computers in Biology and Medicine, 59 (2015). DOI: 10.1016/j.compbiomed.2015.01.05.
The detector is robust to noise and peak reversal and uses a single lead ecg signal. See the header of the function for a detailed description.
David J. Mack (2021). detectEcgWithAngle(ecg, fSInHz, varargin): Heartbeat detection using sample-to-sample angle (https://www.mathworks.com/matlabcentral/fileexchange/63184-detectecgwithangle-ecg-fsinhz-varargin-heartbeat-detection-using-sample-to-sample-angle), MATLAB Central File Exchange. Retrieved .
Inspired by: Plot (Big)
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!