How to plot mean electrical axis using MATLAB?

1 次查看(过去 30 天)
I need to determine mean electrical magnitude and mean electrical axis for a data set using MATLAB. Could anyone suggest a general procedure to follow? I am having trouble plotting the perpendicular lines.
  2 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2012-11-11
Provide some data, and what do you mean by mean electrical axis
Kathy
Kathy 2012-11-11
By Mean Electrical Axis I mean the summation of all the occurring vectors in a cardiac cycle. I have data from three leads taken in an ECG and I need to plot the normals to leads 1 and 3, which will determine the mean electrical axis.

请先登录,再进行评论。

回答(1 个)

Star Strider
Star Strider 2012-11-12
It's easier to do what you want with leads I and aVF because they're orthogonal. Plot the voltages on I against the voltages on aVF and you pretty much have all the data you need. Since Lead III is defined in the direction of -120°, a line orthogonal to it would be -30°. This is illustrated in this code snippet:
LeadIII = @(x) x.*tand(-120);
LeadIIIOrth = @(x) x.*tand(-30);
x = linspace(0, 1, 10);
LIII = LeadIII(x);
LIIIO = LeadIIIOrth(x);
figure(1)
plot(x,LIII, '-b', x,LIIIO,'-r')
axis equal
grid
Rename the anonymous functions to be anything you want. Bear in mind that owing to anatomical considerations, tissue characteristics, and lead placement, the angles aren't exactly multiples of 60°, and the measured EKG voltages in the leads don't exactly measure the fields generated by the heart.
A brief PubMed search pulled up a couple articles (free online) that look to me to be relevant to what you want to do, even if they don't specifically address your question:
Yours sounds like an interesting project. Have fun with it!

类别

Help CenterFile Exchange 中查找有关 ECG / EKG 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by