On Tue, 6 Nov 2007, Stephen Wille Padnos wrote:

> And if that wasn't easy enough, here's more or less all you need to do a 
> two-tap FIR (or IIR - I don't remember) filter using comp (untested):

> FUNCTION(_) {
>     float temp = in;
>     out = temp * coeff1 + old * (1-coeff1);
>     old = temp;
> }

I know, I know! I've already studied THAT thing :PPP

It's a FIR design since it doesn't use the previous output values. The IIR form
of the same order should be

out = temp * a + old * b + out * c
                          ^^^^^^^^^ the IIR part :D
the values for a, b and c are left as an useful exercise :PPPP

Now I'm taking lessons from a colleague which works with TMS C4 DSP, so I hope 
he should know how to design a filter...


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to