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!