12 lead ECG problem with the graph?
2 views (last 30 days)
Show older comments
I've used the following script to produce 12 ECG plots. The problem is the 12 graphs need to be on the same axis with no spaces between them can anyone shed any light on how I would go about this?
Thanks
TwelveLeadArray = csvread('twelveLead1.csv');
LeadI = TwelveLeadArray(:,1);
subplot(3,4,1)
plot(LeadI)
LeadII = TwelveLeadArray(:,2);
subplot(3,4,5)
plot (LeadII)
LeadV1 = TwelveLeadArray(:,3);
subplot(3,4,3)
plot(LeadV1)
LeadV2 = TwelveLeadArray(:,4);
subplot(3,4,7)
plot(LeadV2)
LeadV3 = TwelveLeadArray(:,5);
subplot(3,4,11)
plot(LeadV3)
LeadV4 = TwelveLeadArray(:,6);
subplot(3,4,4)
plot(LeadV4)
LeadV5 = TwelveLeadArray(:,7);
subplot(3,4,8)
plot(LeadV5)
LeadV6 = TwelveLeadArray(:,8);
subplot(3,4,12)
plot(LeadV6)
LeadIII = LeadII-LeadI;
subplot(3,4,9)
plot(LeadIII)
LeadaVR = -1/2*(LeadI+LeadII);
subplot(3,4,2)
plot(LeadaVR)
LeadaVL = 1/2*(LeadI-LeadIII);
subplot(3,4,6)
plot(LeadaVL)
LeadaVF = 1/2*(LeadII+LeadIII);
subplot(3,4,10)
plot(LeadaVF)
0 Comments
Answers (0)
See Also
Categories
Find more on ECG / EKG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!