DFT of a periodically repeated rectangular pulse 1
Find the DFT of x[n] = (u[n] − u[n − n_x])∗ δN_0 [n], 0 ≤ n_x ≤N_0 using N_0 as the representation time.
Summing the finite-length geometric series,
\left(\mathrm{u}[n]-\mathrm{u}\left[n-n_x\right]\right) * \delta_{N_0}[n] \xleftrightarrow[N_0]{\mathcal{D} \mathcal{F} \mathcal{T}} \sum_{n=0}^{n_x-1} e^{-\jmath 2 \pi k n / N_0}