Filter löschen
Filter löschen

How does filter function works?

2 Ansichten (letzte 30 Tage)
khatereh
khatereh am 13 Dez. 2011
Hi,
I used edit filter to see how does it work but I did not find any relative information. I used FIR filter filter(b,1,signal). I need to know how does it work.
Thankss

Antworten (1)

Daniel Shub
Daniel Shub am 13 Dez. 2011
  6 Kommentare
khatereh
khatereh am 6 Jan. 2012
Thanks for your reply. I calculated coefficient b of low pass filter it is a FIR filter so the a is equal to 1. What should be the input value of z? if you look at the code the z gets updated each time and the final out put of the signal is related to that. I am confused. :(
Daniel Shub
Daniel Shub am 6 Jan. 2012
I am guessing you want to leave it out. The zi/zf input/outputs are most useful for when you are filtering in blocks. I believe that if you leave zi out, MATLAB assumes that the input has been zero for a very long time.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Statistics and Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by