[SciPy-user] (newbie) IIR, is there a MatLab "filter" equivalent ?

Travis Oliphant oliphant at ee.byu.edu
Sat Dec 23 01:19:42 CST 2006


Stef Mientki wrote:
> hello,
>
> But I couldn't find the equivalent of the MatLab "filter" function: y = 
> filter(b,a,X)
>     The filter function is implemented as a direct form II transposed 
> structure,
>     y(n) = b(1)*x(n) + b(2)*x(n-1) + ... + b(nb+1)*x(n-nb)
>                  - a(2)*y(n-1) - ... - a(na+1)*y(n-na)
>
>   
scipy.signal.lfilter  (l for linear in front of the filter). 

-Travis



More information about the SciPy-user mailing list