What filter command is actually doing
Show older comments
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
Accepted Answer
More Answers (2)
moonman
on 4 Nov 2011
0 votes
Wayne King
on 4 Nov 2011
0 votes
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.
Categories
Find more on Frequency Transformations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!