How does filter function works?

조회 수: 5 (최근 30일)
khatereh
khatereh 2011년 12월 13일
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

답변 (1개)

Daniel Shub
Daniel Shub 2011년 12월 13일
  댓글 수: 6
khatereh
khatereh 2012년 1월 6일
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 2012년 1월 6일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Digital and Analog Filters에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by