Skipping data of an ECG signal

1 次查看(过去 30 天)
Hi. I would like to skip specific parts of data in an ECG signal. I have 40 ECG signals that have artifacts in them at different times. I shaded them all using a custom GUI that was given to me and it saves the shaded data into a mat file, AX1_Shade. The 40 ECG signals are all separated into their own folders containing the ECG signal, time, and AX1_Shade. The AX1_Shade mat file contains two columns, which are the start and end times of the shaded artifacts, and the rows depends on the number of artifacts I shaded. My teacher told me to compile the ECG signals and shaded data into a 1x40 cell and then used a for loop and if statement to go through each signal and skip though the shaded data. I've asked a similar question here before, but my teacher told me that I need to just skip the shaded parts to extract information instead of making them zero. Is there a way to do this?

采纳的回答

Prudhvi Peddagoni
Prudhvi Peddagoni 2020-10-21
Hi,
as from my understanding, you have a matrix of data and you want to select some rows based on some conditions. you can do this without using the for-loop and if condition.
please refer to this answer to know the steps for doing this.
Hope this helps.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 ECG / EKG 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by