How to plot mean electrical axis using MATLAB?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Azzi Abdelmalek
el 11 de Nov. de 2012
Provide some data, and what do you mean by mean electrical axis
Respuestas (1)
Star Strider
el 12 de Nov. de 2012
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 comentarios
Ver también
Categorías
Más información sobre ECG / EKG en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!