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!