How can i detect cardiac axis from ECG signal?

11 views (last 30 days)
i have a project to develop an algorithm to detect cardiac axis from an ECG signal..can anyone help me with some idea or matlab code?i am a newbie in the field of matlab.it will be helpful for me if someone provide me matlab code about this.

Answers (1)

Star Strider
Star Strider on 9 Apr 2021
Use Standard Lead I for the x-axis, Augmented Lead for the y-axis, and go from there. Calculate the angles using atan2d and the magnitudes using hypot. The angle corresponding to the maximum of the hypot results is the cardiac axis. If you are doing this in 3D, use Precordial Lead for the transverse lead, and calculate that angle with respect to Standard Lead I as I already described.
  4 Comments
Shikat Bhattacharjee
Shikat Bhattacharjee on 16 May 2021
Thank you sir for your reply....
'The angle corresponding to the maximum of the hypot results is the cardiac axis.' - what do you mean by that?i understood that i have to plot hypot values in y axis and atan2d values in the x axis.then the maximum value of y axis determine (hypot max value) the angle in the x axis......is it the right way?? or i have missing something?
thank you again sir.
Star Strider
Star Strider on 16 May 2021
If you calculate the angles and hypotenuse values for every corresponding set of points (points for the same time value) in the two leads for the entire cardiac cycle, the angle corresponding to the maximum hypot value is the cardiac axis.

Sign in to comment.

Categories

Find more on Sparse Matrices 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!