How do I decide what Rp and Rs values to use in a lowpass elliptic filter?
5 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I need to process some EMG data using a lowpass elliptic filter (6th order) to find signal onsets based on the apporach used here://www.sciencedirect.com/science/article/pii/S0921884X96951905)... But the Rp and Rs values used to design the filter was not stated in the paper... How should I decide what Rp and Rs parameters should be uses?
Was planning to get the filter coefficients using: [b,a]=ellip(6,Rp,Rs,(Low_Freq/(Sample_Rate/2)),'low');
And then apply the filter using: EMG_Data= filtfilt(b,a,Data);
Does that sound correct?
Thanks, Jack
0 件のコメント
回答 (2 件)
Juan Camilo Medina
2013 年 2 月 28 日
Couple of things:
Low_Freq should be approx: Sample_Rate/4/1.3 to prevent noise from aliasing into the low frequency regions. In other words, the bandwidth plus roll-off of the filter should be less than half of the nyquist freq.
Rp controls the rippling in the low frequencies. It all depends on what you want to do, but I suggest [0.5-0.2]
Rs controls the distance (amplitude) of the filtered frequencies relative to the unfiltered frequencies. I suggest Rs > 40 db
To apply the filter I would use: "filter" (>> help filer)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Digital Filtering についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!