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 Center および File ExchangeDescriptive Statistics についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by