[Numpy-discussion] Recurrence relationships

josef.pktd at gmail.com josef.pktd at gmail.com
Wed May 6 10:21:13 EDT 2009


On Wed, May 6, 2009 at 10:00 AM, Talbot, Gerry <Gerry.Talbot at amd.com> wrote:
> Sorry, I guess I wasn't clear, I meant:
>
>        for n in xrange(1,N):
>          y[n] = A*x[n] + B*y[n-1]
>
> So y[n-1] is the result from the previous loop iteration.
>

I was using scipy.signal for this but I have to look up what I did
exactly. I think either signal.correlate or using signal.lti.

Josef



More information about the NumPy-Discussion mailing list