Hello Folks,
Requesting some help understanding the process used here, I am okay with the maths I just do not understand this method. It intrests me for that reason. I am given a discrete transfer function and a discrete input. The question is to determine the output function in the sample domain, I would have converted the input into the Z domain and then multiplied the X(Z) by H(Z) to determine the output Y(Z), once Y(Z) is determine the inverse function by using partial fraction expansion method.
This method is different though which is sont ntuitive to me.
\(x[n] = 50 + 10cos(\frac{1}{2}\pi)n +30cos(\pi)n\)
\(H(z)= \frac{4}{(1-\frac{1}{2}z^{-1})(1+\frac{1}{3}z^{-1})} \)
The ROC of the transfer function cuts through the prgin therefore it also has a Fourier transform.
\(H(e^{j\omega})= \frac{4}{(1-\frac{1}{2}e^{-j\omega})(1+\frac{1}{3}e^{-j\omega})} \)
Eulers relationship is used to expand the exponential into cos and sin
\(H(e^{j\omega})= \frac{4}{(1-\frac{1}{2}cos(\omega) - jsin (\omega))(1+\frac{1}{3}cos(\omega) - jsin (\omega)) )} \)
Omega \( \omega\) is used from all 3 terms of x[n]. The first term is constand therefore \( \omega = 0 \)
\(H(0)= \frac{4}{(1-\frac{1}{2}cos(0) - jsin (0))(1+\frac{1}{3}cos(0) - jsin (0)) )} \)
\(H(0)= \frac{4}{(1-\frac{1}{2})(1+\frac{1}{3} )} \)
\(H(0)= 6 \)
The second term is \( \omega = \frac{1}{2}\pi \)
\(H(\frac{1}{2}\pi)= \frac{4}{(1-\frac{1}{2}cos(\frac{1}{2}\pi) - jsin (\frac{1}{2}\pi))(1+\frac{1}{3}cos(\frac{1}{2}\pi) - jsin (\frac{1}{2}\pi)) )} \)
This results in magnitude and phase
\(H(\frac{1}{2}\pi): \ magnitude =\ \frac{12\sqrt2}{5}, \ phase shift \ 8.13^\circ \)
The third term is \( \omega = \pi \)
\(H(\pi)= \frac{4}{(1-\frac{1}{2}cos(\pi) - jsin (\pi))(1+\frac{1}{3}cos(\pi) - jsin (\pi)) )} \)
\(H(\pi)= 4 \)
The valuse obtained are then plugged into the discrete input and that is our y[n], dont understand this?
\(y[n] = 50(6) + 24\sqrt{2} cos(\frac{1}{2}\pi + 8.13\circ)n +30(4)cos(\pi)n\)
\(y[n] = 300 + 24\sqrt{2} cos(\frac{1}{2}\pi + 8.13\circ)n +120 cos(\pi)n\)
Requesting some help understanding the process used here, I am okay with the maths I just do not understand this method. It intrests me for that reason. I am given a discrete transfer function and a discrete input. The question is to determine the output function in the sample domain, I would have converted the input into the Z domain and then multiplied the X(Z) by H(Z) to determine the output Y(Z), once Y(Z) is determine the inverse function by using partial fraction expansion method.
This method is different though which is sont ntuitive to me.
\(x[n] = 50 + 10cos(\frac{1}{2}\pi)n +30cos(\pi)n\)
\(H(z)= \frac{4}{(1-\frac{1}{2}z^{-1})(1+\frac{1}{3}z^{-1})} \)
The ROC of the transfer function cuts through the prgin therefore it also has a Fourier transform.
\(H(e^{j\omega})= \frac{4}{(1-\frac{1}{2}e^{-j\omega})(1+\frac{1}{3}e^{-j\omega})} \)
Eulers relationship is used to expand the exponential into cos and sin
\(H(e^{j\omega})= \frac{4}{(1-\frac{1}{2}cos(\omega) - jsin (\omega))(1+\frac{1}{3}cos(\omega) - jsin (\omega)) )} \)
Omega \( \omega\) is used from all 3 terms of x[n]. The first term is constand therefore \( \omega = 0 \)
\(H(0)= \frac{4}{(1-\frac{1}{2}cos(0) - jsin (0))(1+\frac{1}{3}cos(0) - jsin (0)) )} \)
\(H(0)= \frac{4}{(1-\frac{1}{2})(1+\frac{1}{3} )} \)
\(H(0)= 6 \)
The second term is \( \omega = \frac{1}{2}\pi \)
\(H(\frac{1}{2}\pi)= \frac{4}{(1-\frac{1}{2}cos(\frac{1}{2}\pi) - jsin (\frac{1}{2}\pi))(1+\frac{1}{3}cos(\frac{1}{2}\pi) - jsin (\frac{1}{2}\pi)) )} \)
This results in magnitude and phase
\(H(\frac{1}{2}\pi): \ magnitude =\ \frac{12\sqrt2}{5}, \ phase shift \ 8.13^\circ \)
The third term is \( \omega = \pi \)
\(H(\pi)= \frac{4}{(1-\frac{1}{2}cos(\pi) - jsin (\pi))(1+\frac{1}{3}cos(\pi) - jsin (\pi)) )} \)
\(H(\pi)= 4 \)
The valuse obtained are then plugged into the discrete input and that is our y[n], dont understand this?
\(y[n] = 50(6) + 24\sqrt{2} cos(\frac{1}{2}\pi + 8.13\circ)n +30(4)cos(\pi)n\)
\(y[n] = 300 + 24\sqrt{2} cos(\frac{1}{2}\pi + 8.13\circ)n +120 cos(\pi)n\)