What filter command is actually doing

2 次查看(过去 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

采纳的回答

Wayne King
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.

更多回答(2 个)

moonman
moonman 2011-11-4
Thanks a lot King I sent u one more question in ur email which i think u have not received. This question is not related to matlab directly but i need opinion of an expert on this I want to ask that what is the feasibility of implementation for DTMF tone detection by using FFT instead of bandpass filters
Plz comment on it

Wayne King
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.

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by