How do I know how the output of FIR filter were calculated (e.g., each of summands of the FIR)?
3 ビュー (過去 30 日間)
古いコメントを表示
For a given set of FIR coefficient b and input data input, I generate FIR output using filter function (e.g., output = filter(b, 1, input)).
Based on the help explaination, the filter is a "Direct Form II Transposed" implementation of the standard difference equation:
a(1)*y(n) = b(1)*x(n) + b(2)*x(n-1) + ... + b(nb+1)*x(n-nb)
- a(2)*y(n-1) - ... - a(na+1)*y(n-na)
Is there a way to know each of summands before the summations, i.e., b(1)*x(n), b(2)*x(n-1), ..., for each of input or time instance?
4 件のコメント
Paul
2024 年 3 月 16 日
AFAIK, there is no function that provides the intermediate terms from filter. The actual implementation of the filter is shown in the More About section of the doc page from which one could, in principal, compute the intermediate terms, by which I mean the w_i.
Maybe there is an alternative function to filter() that will do the filtering and provide additional outputs of intermediate quantities.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Statistics and Linear Algebra についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!