On Feb 21, 9:44*am, Jim Thomas <jtho...@bittware.com> wrote:
> DSPGURU wrote:
> > If in your doubt, Y is output, then this is not reasonable since the
> > filter is no more an FIR filter but an IIR filter. Y terms in filter
> > mean feedback.
>
> y[n] = x[n] + y[n-1] - x[n-N]
>
> This has feedback, but it's FIR. *While IIR's require feedback, feedback
> does not necessarily imply IIR.
>
> --
> Jim Thomas * * * * * *Principal Applications Engineer *Bittware, Inc
> jtho...@bittware.com *http://www.bittware.com* *(603) 226-0404 x536
> The sooner you get behind, the more time you'll have to catch up
Hello James,
You are correct that you can take FIR filter and add cancelling pairs
of poles and zeros to make it have feedback. Rarely would you ever
want to, rarely would you want such a filter from general filter
design program. Generally (not your example) it makes filter take more
computations, makes some fix-point implementation harder. In special
case of boxcar function you present, since filter has pole on unit
circle, having the filter work right depends on things that one would
need to be knowledgable off or have luck to avoid. If you break filter
into two sections, first implementing denominator, second implementing
numerator, filter can only work with non-saturating fix-point
implementation, not floating-point, not saturating fix-point, because
first section is unstable. If program designed your filter and got 2
ones in denominator, exactly, but numerator coefficients not exactly
same (1 or not, but not 0), then filter not stable. If all cancelling
poles and zeros not match exactly filter turns to IIR. Your filter is
special design for boxcar filter alone or as use in CIC filter, it
would not be expected from general filter design program. My comments
about 'same' numbers obviously ignore appropriate signs; apply as
appropriate.
Original poster should not expect feedback terms from general filter
design program that is to design FIR filter. If so, he should get
money back.
(got English help from my mate Roopnath, understand better?)
Regards,
Kamar Ruptan
DSP Guru