Used MATLAB to clean an ECG signal and extract useful information from it.
- Removed unwanted low frequncy noise caused by the movement of the patient during the measurement by applying a high pass filter.
- ECG is contaminated with 50 Hz noise from the power outlet, which overlaps the ECG. This interference was removed by applying a notch filter at 50 Hz.
- To furthur improve the signal to noise ratio, various low pass filters were applied with different cutoff frequencies to determine the best.
- Heart rate was calculated using ACF (autocorrelation function) of the function.
- Implemented PAn-Tompkins algorithm to detect QRS complex of the signal.