help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filter Implementation


From: shall689
Subject: Re: Filter Implementation
Date: Mon, 3 Jul 2017 17:05:20 -0700 (PDT)

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




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Filter-Implementation-tp4683979p4683990.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]