How to calculate the computational complexity of filtfilt low-pass filter?
조회 수: 5 (최근 30일)
이전 댓글 표시
Kalasagarreddi Kottakota
2023년 10월 30일
댓글: Kalasagarreddi Kottakota
2023년 10월 31일
I have a signal 'x' of length N which I perform lowpass filtering with matlab filtfilt. a and b are filter coefficients.
Is it possible to calculate its complexity in terms of Big O like O(...)?
y = filtfilt(b,a,x)
댓글 수: 0
채택된 답변
Bruno Luong
2023년 10월 30일
filtfilt just do twice (forward + backward) the filter. In your case it is IIR, where the complexity is
O((length(a)+length(b))*N)
댓글 수: 5
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Single-Rate Filters에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!