I need to calculate the output power spectral density of the following digital filter
My calculations are as follows:
$y\left(n\right)\:=\:x\left(n-1\right)+d\left[x\left(n-1\right)+x\left(n\right)\right]$
$Y\left(z\right)\:=\:X\left(z\right)z^{-1}+d\left[X\left(z\right)z^{-1}+X\left(z\right)\right]$
$Y\left(z\right)\:=\:X\left(z\right)\left[\left(1+d\right)z^{-1}+d\right]$
$\frac{Y\left(z\right)}{X\left(z\right)}=\:H\left(z\right)=\left(1+d\right)z^{-1}+d$
Did I get this equation right? would somebody help me please because this diagram is kind of confusing for me.