# Why is it assumed that $x[n]$ is limited from $0$ to $N-1$ while evaluating DFT?

I am a total beginner in this topic of DFT. I get that the series must be finite for DFT calculation. But everywhere we are assuming that this series must be limited from $$0$$ to $$N-1$$. How to evaluate DFT for a sequence extending from $$n=2$$ to say $$n=N+1$$?

I am following this video

Here in the minute 21:20 to 21:50, Professor seems to be really strict about this particular range. Why is this so?

• it's not limited as such. there is no operational difference between the DFT and the Discrete Fourier Series. the DFT maps a discrete and periodic sequence of numbers having period $N$ in some domain (e.g. "time domain"), to another discrete and periodic sequence of numbers having the same period $N$ in the reciprocal domain (e.g. "frequency domain"). Commented Mar 23, 2020 at 16:56
• @robertbristow-johnson I had a doubt regarding your comment. You said that DFT maps N-point discrete time domain sequence to N-point discrete frequency domain sequence but we see examples of 128 point DFT of a 16 point sequence. Is that DFT after zero padding the time domain sequence? Commented Mar 24, 2020 at 4:00
• there is nothing about the DFT that zero pads samples. it's not in the natural definition, but only in the contrived definition that explicitly pads zeros. but you have to remove the zero padding, then periodically extend the $N$ samples if you are going to use any DFT theorems that cause (circular) translation or convolution. read my other answer that i pointed to. it's quite simple. the DFT maps a discrete and periodic sequence of numbers having period $N$ in some domain to another discrete and periodic sequence of numbers having the same period $N$ in the reciprocal domain. Commented Mar 24, 2020 at 14:50

Formularistic: trivial variable substitution of the running variable $$n$$ by $$\tilde n = n+2$$, done.
Looking at it as a signal: When doing an DFT, it helps to think of it simply as mapping of $$\mathbb C^N\mapsto\mathbb C^N$$, i.e. a complex vector goes in, same size complex vector comes out.