Consider two two-sided sequences $\mathbf{h}$ and $\mathbf{g}$ and consider a third sequence $\mathbf{x}$ which is built by interleaving the values of $\mathbf{h}$ and $\mathbf{g}$ as:
\item Using the sequence $\mathbf{x}$ defined by $x[n]=(1/n) u[n-1]$, show that we need to consider the \textit{absolute} convergence in determining the ROC if we want it to have circular symmetry.
\item Compute the transfer function of a system whose impulse response is equal to $\mathbf{x}$.
\end{enumerate}
\end{exercise}
}\fi
\ifanswers{%
\begin{solution}{}
\begin{enumerate}
\item Consider the \ztrans\ of $\mathbf{x}$
\[
X(z)=\sum_{n=1}^{\infty} \frac{z^{-n}}{n};
\]
the transform converges in $z=-1$ but not absolutely, since $X(1)=\infty$; if we required simple convergence to establish if a point belongs to the ROC, in this case the ROC wouldn't be circularly symmetric.
\item Suppose that the above expression corresponds to the impulse response of an LTI system. What can you say about the causality of such a system? What about its stability?
\item Let $\alpha=0.8$: what is the spectral behavior of the corresponding filter? What if $\alpha=-0.8$?
\begin{exercise}[Pole-zero plot and magnitude response]
In the following pole-zero plots, in which the circle shows the unit circle, multiple zeros at the same location are indicated by the multiplicity number shown to the upper right of the zero. Sketch the magnitude of each frequency response and determine the type of filter (highpass, lowpass, bandpass).
\item Sketch the magnitude response $H(e^{j\omega})$ from the \ztrans . You can use a numerical package to find the
poles and the zeros of the transfer function. What type of filter is $H(z)$?
\item Sketch the pole-zero plot. Is the system stable?
\end{enumerate}
Now consider a length-$128$ input signal $\mathbf{x}$ defined as:
\[
x[n]=\begin{cases}
0 & \mbox{for } 0\leq n \leq50\\
1 & \mbox{for } 51\leq n \leq127
\end{cases}
\]
\begin{enumerate}
\setcounter{enumi}{2}
\item Plot the magnitude of the DTFT $X(e^{j\omega})$.
\item Call $\mathbf{y}$ the signal obtained by filtering $\mathbf{x}$ with the system described by $H(z)$; plot the signal $\mathbf{y}$ and the magnitude of its DTFT.