Remove Lower Frequencies from ECG Signal Sample

조회 수: 1 (최근 30일)
Yetemia Priambodo
Yetemia Priambodo 2018년 12월 1일
Hello guys,
I want to remove lower frequencies from ECG signal sample that I got from physionet.org.
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개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by