Re: zero padding radix - 2 FFT
- From: Bob Cain <arcane@xxxxxxxxxxxxxxxxx>
- Date: Sat, 13 May 2006 19:49:53 -0700
forums_mp@xxxxxxxxxxx wrote:
For starters, I'm still a newbie muddling my way through the various
texts and fourier terminologies. I'm of the impression that given an
FFT with an odd size. Zero padding the FFT to the next power of two
amounts will do the trick. Barring efficiency reasons with regards to
odd sizes, I'm only interested in how the padded and non padded version
could be equivalent. Now utilizing matlab as my analysis tool.
Given:
x =x=[0,1,2,3,4]
0 1 2 3 4
y=fft(x)'
y =
10.0000
-2.5000 - 3.4410i
-2.5000 - 0.8123i
-2.5000 + 0.8123i
-2.5000 + 3.4410i
Now zero pad to the next power of two.
x =x=[0,1,2,3,4,0,0,0]
0 1 2 3 4 0 0 0
y=fft(x)'
y =
10.0000
-5.4142 + 4.8284i
2.0000 - 2.0000i
-2.5858 + 0.8284i
2.0000
-2.5858 - 0.8284i
2.0000 + 2.0000i
-5.4142 - 4.8284i
How is the result from the result from the padded and non-padded
version equivalent or is there my understanding flawed?
They are both sets of points on (samples of) the same underlying continuous
complex curve, just spaced differently. The longer you pad your sequence
the closer the sample points get to each other in the frequency dimension.
Bob
--
"Things should be described as simply as possible, but no simpler."
A. Einstein
.
- References:
- zero padding radix - 2 FFT
- From: forums_mp
- zero padding radix - 2 FFT
- Prev by Date: Re: An IIR filter gain questio
- Next by Date: Re: IFFT to Wavetable ?
- Previous by thread: Re: zero padding radix - 2 FFT
- Next by thread: An IIR filter gain questio
- Index(es):
Relevant Pages
|
Loading