Classifying ECG into separate segments

3 views (last 30 days)
Vaibbhav Devender Kalra
Vaibbhav Devender Kalra on 21 Oct 2019
Answered: Kaashyap Pappu on 24 Oct 2019
As part of my college project, I am trying to classify ECG into P wave, PR segment, Q wave, R wave, S wave, ST segment and T wave. However, I am not able to understand how to do the same through matlab. Can someone guide me as how to go about it...

Answers (1)

Kaashyap Pappu
Kaashyap Pappu on 24 Oct 2019
As I understand it, each type of wave has a specific frequency characteristic. Based on this, bandpass filters can be designed to filter the specific wave out. This can be done using the Filter Designer app. Select the appropriate parameter and export the coefficient of the filters into MATLAB workspace.
Using these coefficients, you can use the filter function with the coefficients and the input signal to generate the filtered output, which would be the specific wave segment you are looking for.
Hope this helps!

Community Treasure Hunt

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

Start Hunting!