cascading two notch filters designed using iirnotch
显示 更早的评论
Hello, I want to develop a 50 Hz notch filter for ECG denoising. While using iirnotch I'm getting around 20 dB attenuation and a very narrow bandwidth. Now I want to increase the attenuation more. So I found that if I filter the signal with the same coefficients, the attenuation is more. Instead of filtering twice with the same coefficients, is there a way to cascade the filter with itself?
S1=xlsread('D:\mtech\Work\For analysis\Nila.csv');
X=S1(:,2);
f0=50;fs=1334;
wo = f0/(fs/2); bw = wo/25;
[b,a] = iirnotch(wo,bw);
% fvtool(b,a);
out=filtfilt(b,a,X);
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!