Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
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:

mousaab

Newbie level 4
Joined
Dec 12, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,311
i'm getting crasy
someone help with this threshold
i do evrything but without result
 

andre_luis

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,392
Helped
1,174
Reputation
2,367
Reaction score
1,166
Trophy points
1,403
Location
Brazil
Activity points
54,647
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 :


+++
 

mousaab

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

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top