How can I design a cascaded IIR bandpass butterworth filter for my data x?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have data with the intention to filter them offline. I would like to apply a cascaded IIR bandpass butterworth filter. I have a Fs of 5000 and would like to filter low pass (12 Hz) and high pass (10 Hz), order is 3. If I am correct, I have to use the sosfilt function? My current code is:
[c,b,a] = butter(3,[0.004 0.0048]/(5000/2), 'bandpass');
sosbp = zp2sos(c,b,a)
x_filter = sosfilt(sosbp, x);
However, something is wrong since data are not filtered to the desired cut-off frequencies? Can anyone provide help?
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!