What filter command is actually doing
1 回表示 (過去 30 日間)
古いコメントを表示
When i use filter command
y=filter(filnum, filden, x);
it filters the data in vector x with the filter described by vectors filnum and filden to create the filtered data Y.
I can also say that it convolves the signal x with the filter defined by fulnum and filden
0 件のコメント
採用された回答
Wayne King
2011 年 11 月 4 日
Hi, yes filter() is convolution.
filter() actually uses what is called a direct-form II transposed structure to implement the convolution.
0 件のコメント
その他の回答 (2 件)
Wayne King
2011 年 11 月 4 日
I think detection by using the DFT is the way to go. I understand the exercise you were working on, but I think most real-world algorithms use the DFT. Look at that demo in the Signal Processing Toolbox that uses the Goertzel algorithm for the DFT at a small set of frequencies.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Frequency Transformations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!