Sunteți pe pagina 1din 4

3.

Determine and plot magnitude and phase response of the first order recursive filter which unit sample
response is given by:
h(n)  a n u(n) for all n.
Debido a que n abarca todos los números, se debe comprobar que
∞ ∞

∑ |ℎ(𝑛)| = ∑ |𝑎|𝑛
𝑛=−∞ 𝑛=0
Si |𝑎| ≥ 1 la suma se transforma en infinito la transformada no existe, para |𝑎| < 1 se aplica la formula:

1
∑ |𝑎 |𝑛 = 𝑝𝑎𝑟𝑎 |𝑎| < 1
(1 − |𝑎|)
𝑛=0
La cual es finita, entonces
∞ ∞
−𝑗𝜔 ) 𝑛 −𝑗𝜔
𝐻 (𝑒 = ∑𝑎 𝑒 = ∑ (𝑎𝑒 −𝑗𝜔 )𝑛
𝑛=0 𝑛=0

Se aplica nuevamente la fórmula de suma de geometría infinita para |𝑎𝑒 −𝑗𝜔 | < 1

1
𝐻 (𝑒 𝑗𝜔 ) = 𝑝𝑎𝑟𝑎 |𝑎| < 1
1 − 𝑎𝑒 −𝑗𝜔
Y llegamos a la transformada.

Respuesta en magnitud
La formula para hallar la respuesta en magnitud es:
1/2 1/2
𝐻 (𝑒 𝑗𝜔 ) = (𝐻 (𝑒 𝑗𝜔 )𝐻 ∗ (𝑒 𝑗𝜔 )) = (𝐻𝑅2 (𝑒 𝑗𝜔 ) + 𝐻𝐼2 (𝑒 𝑗𝜔 ))

1 1 1
1 1 2 1 2 1 2
|𝐻(𝑒 𝑗𝜔 )| = × = =
1 − 𝑎𝑒 −𝑗𝜔 1 − 𝑎𝑒 𝑗𝜔 1 − 𝑎𝑒 −𝑗𝜔 − 𝑎𝑒 𝑗𝜔 + 𝑎2 1 + 𝑎2 − 2𝑎 cos 𝜔
1/2
1
|𝐻(𝑒 𝑗𝜔 )| = 𝑝𝑎𝑟𝑎 𝑎 = 0.5
5
4 − cos 𝜔

1
|𝐻(𝑒 𝑗𝜔 )| = 𝑝𝑎𝑟𝑎 𝑎 = 0.9
1.81 − 1.8 cos 𝜔

Respuesta en fase
La formula para hallar la fase:

𝐻𝐼 (𝑒 𝑗𝜔 )
𝐴𝑟𝑔{𝐻(𝑒 𝑗𝜔 )} = arctan[ ]
𝐻𝑅 (𝑒 𝑗𝜔 )
Como se observa en la fórmula es necesario separar la parte real de la imaginaria.

1 1 − 𝑎𝑒 𝑗𝜔 1 − 𝑎𝑒 𝑗𝜔 1 − 𝑎(cos 𝜔 + jsin 𝜔)
𝐻 (𝑒 𝑗𝜔 ) = × = =
1 − 𝑎𝑒 −𝑗𝜔 1 − 𝑎𝑒 𝑗𝜔 1 + 𝑎2 − 2𝑎 cos 𝜔 1 + 𝑎2 − 2𝑎 cos 𝜔

Debido a que el denominador es real, podemos separar la parte real de la imaginaria.


−𝑎 sin 𝜔
𝐻𝐼 (𝑒 𝑗𝜔 ) =
1 + 𝑎2 − 2𝑎 cos 𝜔

1 − 𝑎 cos 𝜔
𝐻𝑅 (𝑒 𝑗𝜔 ) =
1 + 𝑎2 − 2𝑎 cos 𝜔
−𝑎 sin 𝜔
𝑗𝜔 )} 1 + 𝑎 2 − 2𝑎 cos 𝜔 −𝑎 sin 𝜔
𝐴𝑟𝑔{𝐻 (𝑒 = arctan [ ] = arctan[ ]
1 − 𝑎 cos 𝜔 1 − 𝑎 cos 𝜔
1 + 𝑎2 − 2𝑎 cos 𝜔

−0.5 sin 𝜔
𝐴𝑟𝑔{𝐻 (𝑒 𝑗𝜔 )} = arctan [ ] 𝑝𝑎𝑟𝑎 𝑎 = 0.5
1 − 0.5 cos 𝜔

−0.9 sin 𝜔
𝐴𝑟𝑔{𝐻 (𝑒 𝑗𝜔 )} = arctan [ ] 𝑝𝑎𝑟𝑎 𝑎 = 0.9
1 − 0.9 cos 𝜔

GRAFICAS magnitud
Graficas de la fase

S-ar putea să vă placă și