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!