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!