whats is the effect of pading zeroes to a sequence in FFT? for eg: x[n]=[2 3 4 5] corresponds to X[K]=[14 -2+2i -2 -2-2i]

while x[n]=[2 3 4 5 0 0 0 0] corresponds to X[K]=[14 0.58-9.65i -2+2i -3.414+1.65i -2 3.414-1.65i -2-2i 0.58+9.65i]

so what is the relation between X , X and X in the new sequence?

All that is happening when you zero-pad the input signal prior to a DFT, is that you are interpolating the frequency domain representation.

For example, you might get a certain shape as the output of your absolute magnitude of the DFT, and this shape has 10 points. If you zero-padded the input of your DFT to say, 100 points, you will get the same shape as before, but it will have more points, and will look smoother. That is all a zero-padding does for you. One may ask what type of relationship, and this relationship is simply a sinc-interpolation relationship.

A picture is worth a thousand words, so here you go: As you can see, the shape of the DFT output (magnitude in this case) remains the same, but the granularity increases.

People will usually zero-pad for a variety of reasons:

• Peak picking: A smoother DFT output allows a peak-picking algorithm to gain more accuracy as to the frequency of the actual peak.
• Interpolation in the frequency domain for further processing downstream
• Linear Convolution: If linear convolution is sought, then performing it as a multiplication of two spectra in the frequency domain means that the DFT outputs must be of length $N+M-1$, where $N$ is the length of the first signal, and $M$ is the length of the second signal it is being convolved with.
• i Agree that the reaponse becomes more smoothened out But is there a Specific Relation Between the new terms due to padding? As in relation between 1st, 2nd and 3rd term of the new sequence of my example Aug 12, 2013 at 15:44
• @Kaustubh You give me two points, 1 and 2. You ask me to interpolate between 1 and 2 such that I now have three points, 1, 1.5, and 2. What is the relationship between 1, 2, and 1.5? You might say, "This is the average of the two points". That is a form of linear interpolation with degree one. In this case it is the same, you are always doing an interpolation, but the relationship is given by the sinc-interpolator. Aug 12, 2013 at 18:30

Zero padding in the time domain corresponds to interpolation in the frequency domain (and vice versa). The specific relationship is sync interpolation, sometimes also known as Whittaker-Shannon interpolation.

http://en.wikipedia.org/wiki/Whittaker%E2%80%93Shannon_interpolation_formula

In case of the FFT the linear integral/sum has to be replaced with a circular sum. The formula works for both real and complex numbers.

They are more closely spaced high quality interpolations of the non-zero padded FFT result.

• Yeah...agreed But is there a Specific Relation in the new terms? Aug 12, 2013 at 15:45
• Not a specific relationship of just those 3 bins. A high quality interpolation of bin 1 will use more information than in bins 0 and 2 to do a higher degree or larger kernel interpolation. Might be close to halfway between, or potentially very different, depending on other nearby bins. Aug 12, 2013 at 16:47