I need to apply the below filter code to the ECG as contained in the file

3 ビュー (過去 30 日間)
Neha Sinha
Neha Sinha 2023 年 1 月 7 日
コメント済み: Neha Sinha 2023 年 1 月 7 日
% DEFINE FILTER PARAMETERS
Fs = 2E+6;
Fn = Fs/2;
Fc1 = 630;
Fc2 = 640;
Fs1 = Fc1*0.8;
Fs2 = Fc2/0.8;
Rp = 1;
Rs = 10;
% DESIGN FILTER
[n,Wp] = ellipord([Fc1 Fc2]/Fn, [Fs1 Fs2]/Fn, Rp, Rs);
[z,p,k] = ellip(n,Rp,Rs,Wp);
[sos,g] = zp2sos(z,p,k);
figure
freqz(sos, 2^14, Fs)
How to apply the above filter to the file (each row is ecg for 1 person): https://drive.google.com/file/d/1vXb3zY1hlKdXbn6cSvrm7O7OfL1Nx_qe/view?usp=share_link

採用された回答

Walter Roberson
Walter Roberson 2023 年 1 月 7 日
FilteredRowsOfECG = sosfilt(sos, YourRowsOfECG, 2);
  3 件のコメント
Walter Roberson
Walter Roberson 2023 年 1 月 7 日
You might well be right, @Paul .
Neha Sinha
Neha Sinha 2023 年 1 月 7 日
Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by