Skipping data of an ECG signal
1 view (last 30 days)
Show older comments
cfmmj23
on 18 Oct 2020
Answered: Prudhvi Peddagoni
on 21 Oct 2020
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?
0 Comments
Accepted Answer
Prudhvi Peddagoni
on 21 Oct 2020
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.
Hope this helps.
0 Comments
More Answers (0)
See Also
Categories
Find more on ECG / EKG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!