|
From: | Doug Stewart |
Subject: | Re: Filter Implementation |
Date: | Mon, 3 Jul 2017 20:36:06 -0400 |
Thanks Doug,
Your work is getting me going in the right direction. I don't know why I
was ever used excel in the first place.
You used a(1) (=1) for the y(n-1) term. I was thinking that a(2)
(=-0.985033202259162) should be used for that term, i.e. y(n) = b(1)*x(n) +
b(2)*x(n-1) + a(2)*y(n-1). Is that correct?
If a(2) is used for the y(n-1) term, the plot look like my excel plot, so
there is something I am misunderstanding about implementing the filter
equation.
Also, the filtered output has an offset if a(1) is used with y(n-1).
Stephen
[Prev in Thread] | Current Thread | [Next in Thread] |