problem with program QRS detection

Status
Not open for further replies.

mousaab

Newbie level 4
Joined
Dec 12, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,311
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,....)
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:

i'm getting crasy
someone help with this threshold
i do evrything but without result
 

mousaab

I worked in a company where was developed and manufactured an AED based on QRS detection.
I never worked with this algotithym.
However I saw the code size ( in MATLAB ) and where much higher than above posted.

Take a look here. May help you :


+++
 

that's code based on Pan and tompkins algo
after moving window integration
i use mean(x6) but in orginal article of pan i read more then mean(x6)
he used in his algo two threshold, one for signal and other for noise .my signal without noise
but i could not understand what he talking about in his article
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…