You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
MATLAB code is developed to compute the missing limb lead (Lead II) based on Einthoven's law, and to determine the electrical axis of the heart in the frontal plane. The code allows users to input Q and R wave values for Lead I and Lead III, and subsequently computes the value of Lead II and the corresponding electrical axis angle. Furthermore, the code visualizes these leads and the electrical axis on a standard EKG reference circle to assist in analyzing the heart’s electrical activity.
Cite As
abdallah (2026). Lead Calculation and Electrical Axis Plotting (https://www.mathworks.com/matlabcentral/fileexchange/174265-lead-calculation-and-electrical-axis-plotting), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (30.6 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
