The rectangular window may be defined as:
To see what happens in the frequency domain, we need to look at the DTFT of the window:
where we used the closed form of a geometric series:
We can factor out linear phase terms from the numerator and denominator of the above expression to get
where denotes the aliased sinc function.
(also called the Dirichlet function)