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 个评论
回答(1 个)
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 ECG / EKG 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!