These Functions were designed to eliminate baseline wondering and to detect the peaks of an ECG signal
This work is developed by the members of Advanced Bio-Engineering Club of KUET (Khulna University of Engineering & Technology, Khulna, Bangladesh)
Asadur Rahman (2020). MATLAB based Functions for ECG Signal Preprocessing (https://www.mathworks.com/matlabcentral/fileexchange/69118-matlab-based-functions-for-ecg-signal-preprocessing), MATLAB Central File Exchange. Retrieved .
Probably, there is an issue in your sampling frequency. To solve the issue, correct the following lines as adding the 'round' values
Q_th =round (20/360)*Sampling_frequency;
P_th_1st = round(40/360)*Sampling_frequency;
P_th_2nd = round(1/360)*Sampling_frequency;
S_th_1st = round(5/360)*Sampling_frequency;
S_th_2nd = round(60/360)*Sampling_frequency;
Possibly the issue will be gone. Thank you for using our function and We expect a rating from your point of view.
Hello, on the qrs detection the a value is not a positive integer or a logical value
how can I fix it?