how can I get cardioid graph from ecg QRS complex?

23 views (last 30 days)
HI, CAN ANYONE SHOW ME HOW SHOULD I GET CARDIOD GRAPH FROM QRS COMPLEX?

Accepted Answer

Star Strider
Star Strider on 5 Oct 2016
The plot you want is called a vectorcardiogram. You need an EKG record that is noise-free and has baseline offset and baseline variation removed. Use Lead I and Lead aVF records to plot it. See Detecting QRS complex in ECG signal for details. My ‘EKG_Explore.m’ function (attached to my initial Answer) should provide you with guidance on how to program it.
  26 Comments
Neal
Neal on 11 Dec 2016
Thanks for the information. can you tell me how the cardiod(loop) has plotted mathemetically. I want to know the mathematical expression to plot cardiod graph).
Star Strider
Star Strider on 11 Dec 2016
My pleasure.
My code explains the plot clearly. There are three essentially orthogonal leads — I, aV_F, and V_2. The first two define the ‘+x’- and ‘-z’ directions in the frontal plane, and the third in the ‘+y’ direction, providing 3D reference coordinates. Plotting the first two create the 2D frontal vectorcardiogram loop, and adding the third creates it in 3D. All EKG leads have a common centre reference that is created within the EKG recording system electronics. The common zero origin of the plots is defined anatomically as the sinoatrial node, where the ‘pacemaker’ signal originiates. I refer you to John Webster’s textbook on biomedical instrumentation (there are likely others as well) for a thorough discussion.
As far as plotting it, that is simply plotting the EKG leads at corresponding time points. The activation sequence to plot the arrows in the quiver plots require the negative of the gradient simply because the way the vectors are defined in the quiver plots.
So the vectorcardiogram is not defined mathematically beyond the description I provided here. It is defined by the heart, and the way MATLAB plots the data. Mathematical simulations of the P-QRS-T complex are far beyond the scope of anything I want to get into here. The separation of the full activation and depolarisation sequence into its components I did visually. The mathematics of that is the subject of myriad publications. Considering that algorithms to do that have to recognise normal as well as abnormal rhythms and activation sequences makes this an extremely difficult problem. It is often difficult to do manually in extreme deviations from a normal, healthy heart.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!