Remove Lower Frequencies from ECG Signal Sample
1 次查看(过去 30 天)
显示 更早的评论
Hello guys,
After surfing the internet, I got this tutorial from youtube: ECG Signal Processing in MATLAB - Detecting R-Peaks: Full
He give the source code too. But I need extra explanation from the source code that he gave in remove lower frequencies segment.
fresult=fft(ecg);
fresult(1 : round(length(fresult)*5/samplingrate))=0;
fresult(end - round(length(fresult)*5/samplingrate) : end)=0;
corrected=real(ifft(fresult));
I know how fft works but can someone here give explanation about this code?
fresult(1 : round(length(fresult)*5/samplingrate))=0;
fresult(end - round(length(fresult)*5/samplingrate) : end)=0;
And why he use 1000 for samplingrate variable?
Thanks in advance :)
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!