Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,200
Helped
1,142
Reputation
2,303
Reaction score
1,119
Trophy points
1,403
Location
Brazil
Activity points
53,578

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top