Main Question or Discussion Point

I have various EKG graphs. I need all of the maximum and minimum voltages for each period. The periods are not all the same length. The maximums and minimums all vary.
Is there any way I can do this?
Note: it'll be hard selecting chunks of data and then finding it from that because there's nearly 2500+ values for voltage per a 12 second reading.

An example of a EKG graph is below.
[PLAIN]http://img210.imageshack.us/img210/184/examplefw.jpg [Broken]

thank you

Last edited by a moderator:

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org
From your data I'm not sure what you mean by maxima, minima and period. Are the peaks inside the noise also considered maxima? If not, how far above the noise must a peak rise before it is considered a peak?

In problems of this sort it is important to carefully define your objective. As you refine your definition, many times the solution becomes obvious.

I was referring to the QRS wave (the large, sharp peaks)

Attachments

• 29.2 KB Views: 284
also;
some of the noise is at the same level at the maximums for some of the EKG's
see below

[PLAIN]http://img268.imageshack.us/img268/5008/examplevn.jpg [Broken]
=/

Last edited by a moderator:
Good analysis.

Can you think of a way of distinguishing between the peaks you want and the ones you don't. Obviously voltage won't work. What about the amount it rises above the noise? The peak itself might be distinguished by a reversal of slope.

Is the minimum the the first reversal of slope from negative to positive after a maximum?

The minimum is the first reversal of slope after the maximum
I'm not sure about another way to define maximums.

btw, thank you so much for helping me, I appreciate it =)

looking at the graph again. It's apparent that the voltage rises at least 0.5mv without reversal of slope. The noise goes up and down many many times, none of it reaches 0.5mv without reversal of slope.
Can this be used to help define maximum?

--Issue is solved.

berkeman
Mentor
--Issue is solved.
Glad to hear that. BTW, what was causing all of the low-frequency artifacts? Was the patient moving a lot? Which lead is this from, Lead-II?