Matlab Filter: What Does "filter(chan,data)" Do?

  • Thread starter Thread starter oufa
  • Start date Start date
  • Tags Tags
    Matlab
AI Thread Summary
The function "filter(chan, data)" in MATLAB applies a digital filter defined by the coefficients in "chan" to the input data "data." It is distinct from convolution, as it processes the data in a way that maintains the same length as the input. To understand the operation of "filter," users are encouraged to compare its output with that of the "conv" function using known sequences. By analyzing the lengths and visualizing the outputs, the differences between filtering and convolution become clearer. This understanding is crucial for implementing inverse operations in signal processing.
oufa
Messages
26
Reaction score
0
can anyone tell me please what does filter(chan,data) really works ie is it conv or what as i need inverse that operation in the reciever,
its urgent please
 
Physics news on Phys.org
Take a two sequences that you know what the convolution of the two will be. Then, under two separate variables find the vectors produced by the 'conv' command and then the 'filter' command. Compare the lengths of the vector outputs, then the output by graphing or manually comparing. The operation of 'filter' should become fairly obvious.
 

Similar threads

Back
Top