MATLAB: Digital Signal Processing Filters

digital signal processingMATLABsimulink

Hello I need some help with this question.
?[?] = ?1 ∙ ?[? − ?1] + ?2 ∙ ?[?− ?2] + ?1 ∙ ?[?− ?3].
Set a1, a2, and b1 to any positive or negative real numbers of your choice. Set k1, k2, and k3 to any positive integer numbers of your choice (k1 can be zero). Present this equation with the numbers you have chosen. Present the transfer function ?(?) of your filter
I have chosen the values so my equation looks like this
y[?] = 0.4 ∙ ?[?] + 0.6 ∙ ?[?− 1] + 0.8 ∙ ?[?− 2].
I have worked out H(z) to be (0.4 + 0.6z^-1) / 1-0.8z^-2) is this correct?
My questions are
Is this filter an FIR or IIR type?
How do you determine the poles and zero?
How do you determine if the filter is stable or unstable?
Thanks!

Best Answer

hello
1/ this is obviously an IIR filter as it has a denominator, which means the past outputs are also in the recursive equation (and that makes its impulse response infinite)
3 / 2 methods :
a/ check that all poles lies inside the unity circle (with some margin to be strictly satble)
b/ you can also prove it from the recursive equation : assuming the input x is an impulse of amplitude 1 , the output must decay after the first sample to prove the filter is stable (bounded input => bounded output)
so x(1) = 1 and the next x samples are 0
I let you calculate the first two y samples , but after 3rd iteration, ?[?] = 0 and ∙ ?[?− 1] = 0
so y[?] = 0.8 ∙ ?[?− 2]. which is a strictly converging serie (toward zero) ; easy to demonstrate whatever the initial output was;
Related Question