help-octave
[Top][All Lists]
Advanced

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

simple filter question


From: ionone
Subject: simple filter question
Date: Fri, 12 Jul 2013 10:02:28 -0700 (PDT)

Hi

i can't understand what computations does Octave with this simple filter :
b = [1 2 3 4]
aa = [0.1 0.2]
A = filter(1, aa, b)

the result in Octave is : A = 10  0  30 -20

i thought Octave did this : 
                                               
A(1) = 1/0.1 (this number is correct)
A(2) = 2/0.1 + 1/0.2 = 25 (differs from 0)
A(3) = 3/0.1 + 2/0.2 = 40 (differs from 30)
A(4) = 4/0.1 + 3/0.2 = 55 (differs from -20)
...
please help me understand what computations does Octave in this case
I've turned the equations in every possible way without getting it :/

many thanks.

Jeff



--
View this message in context: 
http://octave.1599824.n4.nabble.com/simple-filter-question-tp4655564.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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