Updated 18 Jul 2018
The Electrocardiogram Live Script uses the Signal Processing Toolbox to find peaks of data from an EKG and shows how to refine the peaks based on your data. The Live Script also shows how to gather data from various sources, including data from a web site, and some tips on visualizing complex data in MATLAB figures to help see critical regions, such as peaks, more clearly. In addition, it illustrates how to infer heart rate from the peaks of the Electrocardiogram data. Submitted as part of the MATLAB Online Live Editor Challenge 2018.