filtfilt and filter order
조회 수: 10 (최근 30일)
이전 댓글 표시
I use a butterworth filter with the filtfilt function. How does the reverse filtering affect the total filter order? If I use a second order butterworth, does the filtfilt function act like a fourth order butterworth (without the shift) or has the reverse filtering no effect on the total filter order? Thnaks for your advice.
댓글 수: 0
채택된 답변
Star Strider
2015년 8월 4일
As I understand the filtfilt documentation, the effect is to produce a result (filtered signal) of a filter of double the order of the filter you give it. It has no effect on the filter itself. (The advantage if filtfilt is that it is phase-neutral.) So at least as I read the documentation, it would act as if your filter was a fourth-order filter in your example.
댓글 수: 0
추가 답변 (1개)
p.antunes
2017년 3월 15일
I have a follow up question.
When filtfilt is used as y = filtfilt(b,a,x), such that filter is defined by "a" "b", filtfilt filter the data with a filter with double the order specified when building "a" "b".
However, when filtfilt is used as y = filtfilt(SOS,G,x), such that filter is defined by "SOS" "G", the the filter order duplication will not occur. Is this a correct ?
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!