mousaab
Newbie level 4
problem with program QRS detection (threshold)(threshold)(threshold)
hey evry1
i have a little problem with QRS detection
in threshold because i use a normal threshold
but work in normal signal like(100,117,118,...)
and makes problem with irregular signals(203,108,104,....)
hey evry1
i have a little problem with QRS detection
in threshold because i use a normal threshold
but work in normal signal like(100,117,118,...)
and makes problem with irregular signals(203,108,104,....)
Code:
max_h = max(x6);
thres =mean(x6);
threshold=(thres*max_h);
poss_reg = x6 > (threshold)';
left = find(diff([0 poss_reg'])==1);
right = find(diff([poss_reg' 0])==-1);[CODE]
are they another possible threshold i can use it in this program
Last edited: