Detecting and Aligning ECG Peaks
조회 수: 2 (최근 30일)
이전 댓글 표시
I am recording ECG signals from 5 electrodes, resulting in 5 ECG traces (x,y,c,d,e)
I have been using the findpeaks function to detect the peaks in each trace. I have then been applying the rmoutliers function to detect and remove any outlier peaks that are more than 3 SD from the mean.
I am left with the location and value of the 'inlier' peaks in each trace, however the traces don't have the same number of peaks and the location of the peaks in each trace can vary by a few samples.
I am trying to write a script that allows me to align the 'inlier' peaks in each trace
Can anybody give me some guidance?
I have attached the matlab script I have been using to detect peaks and remove oultiers.
I have also attached the data file. Note when importing the data file to matlab, import columns C-G (These are the 5 ECG traces).
Thanks
Sam
댓글 수: 2
Ridwan Alam
2020년 1월 8일
I am left with the location and value of the 'inlier' peaks in each trace, however the traces don't have the same number of peaks and the location of the peaks in each trace can vary by a few samples.
Can you share these variables?
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!