Filter design - are taps the same are difference equation coefficients?
Ältere Kommentare anzeigen
Are taps the same are difference equation coefficients?
I'm not sure how they can be actually - or if they are I don't know how they relate.
1 Kommentar
Matt Fig
am 2 Nov. 2012
Tom's question
Are taps the same are difference equation coefficients?
I'm not sure how they can be actually - or if they are I don't know how they relate.
Akzeptierte Antwort
Weitere Antworten (1)
Honglei Chen
am 21 Mai 2012
For example, the difference equation below represents a 2nd order IIR filter
y[n] = -a1*y[n-1]-a2*y[n-2] + b0*x[n] + b1*x[n-1] + b2*x[n-2]
The corresponding coefficients are
b = [b0 b1 b2] and a = [1 a1 a2]
To perform the filtering operation, you can do
y = filter(b,a,x)
1 Kommentar
Tom
am 21 Mai 2012
Kategorien
Mehr zu Filter Design finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!