DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

Zero Padding in radix 2 FFT

Started by Iqbal ●December 30, 2005
robert bristow-johnson wrote:
...
> definitions are sometimes in the eye of the definer. whether someone > defines it this way or not, at its most fundamental, the DFT maps a > discrete infinite and periodic sequence in one domain (call it "time" > if you like) of period N to another infinite and periodic sequence in > the reciprocal domain (call it "frequency" if you like) of period N in > an invertable fashion according to the equations above (except perhaps > where the scaling factor is).
Clearly not! The DFT is a unitary map on a _finite_ dimensional complex vector space. There are no infinite sequences implied in the DFT.
Iqbal wrote:
> Hello all, > > Sorry for starting this topic all over again. I had seen some previous > discussions on zero padding and when I started reading them I > completely got lost. > > When I am provided with samples which are not of power of 2 and I need > to implement FFT, I zero pad the samples to the next highest power of > 2. I do FFT using Cooley Tukey algo and observe that the frequency > componets in several bin - ie there is spectral leakage even though the > signal given to me had a single tone.
This could happen for two reasons: 1) If N is a power of 2 and you do no zero-padding, the spectrum leakage occurs if the monochromatic noise free signal contains a sinusoidal with a frequency f that does not fall exactly on a Fourier frequency. Try this in matlab: %%%%%%%%%%%%%%%%%%%%%%%%%%% N = 32; % The number of samples in the time series f1 = 4/32; % A signal component exactly on a Fourier frequency... f2 = 4/33; % and one slightly offset tv = [0:N-1]; x1 = sin(2*pi*f1*tv); x2 = sin(2*pi*f2*tv); X1= fft(x1); X2=fft(x2); fv = [0:N-1]/N; subplot(2,1,1) % Subplot to separate from another example below % Plot and compare the two spectra plot(fv,abs(X1),'b+',fv,abs(X2),'rx') %%%%%%%%%%%%%%%%%%%%%%%%%%%% The f1 frequency corresponds exactly to one of the Fourier frequencies and one needs just one Fourier component to represent the signal. The f2 frequency does not match any of them perfectly, so one needs contrbutions all Fourier components to represent the signal properly. 2) The signal contains a sinusoidal at a Fourier frequency, but after zero-padding the signal is windowed. In this case the signal spectrum must be convolved with the spectrum of the window function, which introduces spectrum leakage.
> I did think of using some of the algos given to interpolate and find > the exact signal frequency. But then this would work only if the > samples given to me were of single tone, the problem is I would have no > idea of the kind of signal I am looking at.
Ah, this is a very different question indeed. Estimating the structure of the signal is based on answering questions like "Is this a broad-band or a narrow-band signal?", "A mixture?", "Does the signal contain pure sinusoidals?" "If so, how many, and what are their parameters?" and so on. This is basically a black art along side alchemy, voodoo and excorsism and there are no definite answers to such questions. Asking the questions is a very good thing, though, as it will give an impression of what basis one has for choosing this or that signal processing method.
> Next I used MATLAB and resampled the samples to the next higest power > of 2 and then fed it to radix2 FFT algo. It seems to work fine. > > Here are my questions: > > 1. Does it mean zero padding is not after all a good idea if you have > no idea of the signal.
Well, you don't learn anything new from zero-padding, and it might serve to hide essential details. Here is a matlab example, run it after you ran the code above: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% X1zp = fft(x1,2*N); % Compute and plot the zero-padded spectrum % of signal 1 fvzp = [0:2*N-1]/(2*N); subplot(2,1,2) plot(fv,abs(X1),'b+',fvzp,abs(X1zp),'gx') %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The original spectrum (blue) clearly shows a monochromatic component at f1, the zero-padded spectrum (green) shows something that is narrow-band, but the fact that it is a crisp monochromatic component is hidden. True, it is an extreme example, but it is intended to demonstrate that you need to know what you are doing when you attempt to analyze data.
> Because by zero padding I am assuming that > there is a dead band ( as to say) for the next few samples.
You force a set of samples to zero, and that has an effect on the spectrum, that may or may not be important.
> 2. Is it a good idea to resample and then apply or use a different FFT > algo like Chrip-Z or prime factor.
For non-power-of-two window lengths, use a general-length FFT. The Chirp-Z may be useful if you have particular things you look for. Again, you need to know what you do, and why.
> Please do let me know if I have gone wrong in my understanding and > correct me. Sorry for starting the whole discussion again as I have > read some heated dsicussions on the topic in this forum earlier.
No need to apologize, this is important when you get out of the class room and want to apply DSP to solve real-world problems. While DSP. as an academic dicipline, is based on maths, actual data analysis is highly subjective. You choose your methods, I choose mine. The methods may be different, but both have reasons for the choises. That's why it is called "interpretation." A few years ago I worked with an oil company where one data set was sent to several different contractors for processing and analysis. It was not obvious from the processed results that the base data were the same in all analyses. The data interpreters (geologists), who thought of signal processing as cut-in-stone maths, was very surprised by the diversity of the results. Rune
Fred Marshall wrote:
> Hmmmm.... long ago I suggested that we make it clear when we're talking > about theory or practice. I don't think the notion was very well received > and I think the idea was that we'd make it clear. > > No such luck in this thread. We read about clear procedures / methods > ("theoretical") and then somebody says: "yeah, but you can't reconstruct a > [real world] waveform with it" Hmmmmm.... > > I wonder if we can't just use a set of (theoretical) identities to make > things clear:
I never liked these so called identites. If I take two periodic functions and their periods are related by an irrational constant the sum is no longer periodic. Their resulting Fourier transform is continuous and consists of delta functions, but not at rationally related frequencies. I find it easier to thing of everything being continuous, and use delta functions where appropriate. This makes everything linear with respect to addition of waveforms.
> 1) > continuous, infinite time <Fourier Transform> continuous, infinite frequency > and its inverse > 2) > DISCRETE, infinite time <Fourier Transform> continuous, infinite frequency > and PERIODIC > (regular time intervals) and its inverse > > 3) > continuous, infinite time <Fourier Transform> DISCRETE, infinite frequency > and PERIODIC and its inverse > > 4) > DISCRETE, infinite time <Fourier Transform> DISCRETE, infinite frequency > and PERIODIC > and PERIODIC and its inverse > > Now, all of these Fourier Transforms work just fine but we can make some > simplifying changes: > A) When a function is PERIODIC, then sums can be taken over a single period. > B) When a function is DISCRETE, then sums can be taken at discrete points. > C) When a function is DISCRETE PERIODIC, then sums can be taken over a > single period at discrete points. > > [I will use AF, BF, CF to mean "forward" Fourier Transforms or > time-to-frequency and AI, BI, CI to mean "inverse" Fourier Transforms or > frequency-to-time in case the subtleties are important.....] > > This leads to: > 2) DISCRETE, infinite time <Fourier Transform> continuous, infinite > frequency and PERIODIC > (regular time intervals) and its inverse > > 2BF)When a function is DISCRETE, then sums can be taken at discrete points - > so in the "forward transform" we can have a Discrete Time Fourier Transform > (which is still an infinite sum) > > 2AI) When a function is PERIODIC, then the sums can be taken over a single > period - so in the "inverse transform" we can have a continous, finite > length, transform. This is in the same form as computation of a Fourier > Series but operating in the frequency domain. > > It also leads to: > 3) > continuous, infinite time <Fourier Transform> DISCRETE, infinite frequency > and PERIODIC and its inverse > > 3AF) When a function is PERIODIC, then sums can be taken over a single > period. I'm pretty sure that this is the classical Fourier Series > calculation.... > > 3BI) When a function is DISCRETE, then sums can be taken at discrete points. > I'm pretty sure that this is the classical reconstruction from an infinite > set of Fourier Series coefficients. > > Now, isn't that interesting? We have not yet said anything about Nyquist at > all and have avoided going into what happens if the infinite sums are > truncated as in Gibbs' phenomenon. > I think that's pretty cool. > > Two things (and their duals) remain to talk about (theoretically): > - Discrete/Periodic > - Periodic/Discrete > - Finite time > - Finite frequency > > Let's talk about the first dual pair first: > 4) > DISCRETE, infinite time <Fourier Transform> DISCRETE, infinite frequency > and PERIODIC > and PERIODIC and its inverse > > 4BF) When a function is DISCRETE, then sums can be taken at discrete points. > 4AF) When a function is PERIODIC, then sums can be taken over a single > period. > So, this leads to a finite sum. > > 4BI) When a function is DISCRETE, then sums can be taken at discrete points. > 4AI) When a function is PERIODIC, then sums can be taken over a single > period. > This also leads to a finite sum. > > So, the forward transform can be a Discrete and Finite Time, Fourier > Transform. > And, the inverse transform can be a Discrete and Finite Frequency, Inverse > Fourier Transform. > I think this is normally called the Discrete Fourier Transform (being > discrete in both domains and, correspondingly, periodic in both domains). > > OK - still no Nyquist or Gibbs > > Now the last dual pair: > - Finite time > - Finite frequency > > The first one is the most comfortable to people I think because we just > *know* there isn't any infinite time for us to deal with. > > Now we have: > > 1) > continuous, finite time <Fourier Transform> continuous, infinite frequency > and its inverse > 2) > DISCRETE, finite time <Fourier Transform> continuous, infinite frequency > and PERIODIC > (regular time intervals) and its inverse > > 3) is a contraction in terms..... it can't be both periodic (infinite) and > finite (still theory) > continuous, finite time <Fourier Transform> DISCRETE, infinite frequency > and PERIODIC and its inverse > > 4) is also a contradiction in terms for the same reason (still theory) > DISCRETE, finite time <Fourier Transform> DISCRETE, infinite frequency > and PERIODIC > and PERIODIC and its inverse > > So, other than changing the time domain notation from "infinite" to > "finite", there is no other change in any of these cases. However, there is > a change in how the forward transforms can be dealt with: > > 1) can use a finite integral > 2) can use a finite sum > 3) is a contradiction > 4) is a contradiction > > So, then what's the catch with 3 and 4? > It's that they are contradictions for the functions they describe. > However, if we modify our perspective a little bit then they work. Like > this: > > 3*) continuous and PERIODIC <Fourier Transform> DISCRETE, infinite > frequency > and its inverse > We have already seen: > 3AF) When a function is PERIODIC, then sums can be taken over a single > period. (Fourier Series integral calculation). > So, if the function is periodic then we can do the computation over a finite > time (an integral number of periods). > > 4*)DISCRETE and PERIODIC <Fourier Transform> DISCRETE, infinite frequency > and PERIODIC > and its inverse > We have already seen: > 4AF) When a function is PERIODIC, then sums can be taken over a single > period. > So, if the function is periodic then we can do the sum over a finite time > (an integral number of periods). > > Now, turn these observations around. If the sum or integral is over a > finite time AND IF the frequency domain is only calculated on a discrete set > of points, then how do we distinguish the result from one which was done > over a single period of a periodic (infinite) function? > I think the answer is: "you can't". Once the frequency domain is sampled > then the time domain *is* periodic. > [And, temporal aliasing results from only computing the frequency samples at > discrete points. Nyquist]. > > Finally, finite frequency (lowpass case): > > 1) > continuous, infinite time <Fourier Transform> continuous, finite frequency > and its inverse > 2) is a contradiction > DISCRETE, infinite time <Fourier Transform> continuous, finite frequency > and PERIODIC > (regular time intervals) and its inverse > > 3) > continuous, infinite time <Fourier Transform> DISCRETE, finite frequency > and PERIODIC and its inverse > > 4) is a contradiction > DISCRETE, infinite time <Fourier Transform> DISCRETE, finite frequency and > PERIODIC > and PERIODIC and its inverse > > Here, frequency was changed from "infinite" to "finite". > Now 2 and 4 are contradictions and the same kind of treatment as was used > for forward transforms in the time domain cases 3 and 4 can be applied to > the inverse transforms for cases 2 and 4. > > Skipping the repetition of 2 and 4 with modifications we can make similar > observations about the inverse transforms. > > Now, turn these observations around. If the sum or integral is over a > finite frequency AND IF the time domain is only calculated on a discrete set > of points, then how do we distinguish the result from one which was done > over a single spectral period of a periodic (infinite) function of > frequency? > The answer is: "you can't". Once the time domain is sampled then the > frequency domain *is* periodic. > [And, spectral aliasing results from only computing (or measuring) the time > samples at discrete points. Nyquist]. > > Here is the bottom line: > > Until we sample otherwise continuous functions there is no problem in any of > these cases. > As soon as either temporal or spectral sampling (or both) is done, then > there can (or will?) be aliasing. > > What we do in practice is to pretend that real world signals are both > bandlimited and time limited. Then we sample in time and frequency alike > and use the DFT. In theory the signals cannot be both bandlimited and time > limited at the same time - that is, the same signal cannot have both > properties. > > It's always interested me that we are happy to worry the heck out of > spectral aliasing but don't think much about temporal aliasing. I think > there may be a practical reason for this but I've not articulated one. I do > know that some frequency domain interpolation methods can cause temporal > trillies far removed from abrupt changes (temporal aliasing). > > Fred > > > > >
Rune Allnor wrote:
> John Monro wrote: > >>robert bristow-johnson wrote: >> >>>John Monro wrote: >>> >>> >>>>robert bristow-johnson wrote: >>>> >>>> >>>>>well, it isn't the same as a Fourier series of a periodic >>>>>continuous-time function, but the DFT most certainly is the same as the >>>>>Fourier series of a periodic discrete-time function. the DFT maps a >>>>>discrete periodic function in one domain (call it the "time domain") of >>>>>period N, to another discrete periodic function in the reciprocal >>>>>domain (call that the "frequency domain") of the same period length, N. >>>>>both discrete periodic functions are fully defined by N complex >>>>>numbers and the DFT maps the N numbers from one to the N numbers of the >>>>>other. >>>> >>>>While I agree that the DFT can be used to find the Fourier series, and >>>>that this can be done accurately under the conditions you describe,I >>>>don't agree that this makes the DFT the same as the Fourier series. >>>> >>>>The essential difference is that the Fourier series is a function of >>>>time, and the DFT isn't. >>> >>> >>>time, schmime! the math doesn't care if the "n" in x[n] is a function >>>of time, or location (say on a digital photo), or a probability density >>>function (in which you might be interested in the "characteristic >>>function"). it doesn't matter. >>> >>>what we are doing is fitting a bunch of sinusoids (expressed in complex >>>exponential form) to a given set of N equally spaced data points: >>> >>> N-1 >>> x[n] = SUM{ X[k] * exp(j*2*pi*n*k/N) } >>> k=0 >>> >>>where the X[k] are simply the coefficients of the N sinusoids. (here >>>is where the inherent periodic extension of x[n] is apparent.) then >>>when you solve for the N coefficients, you get >>> >>> N-1 >>> X[k] = (1/N) * SUM{ x[n] * exp(-j*2*pi*n*k/N) } >>> n=0 >>> >>>(i realize that the 1/N factor is moved from the common DFT definition. >>> that is simply an issue of convention where i am not following the >>>most common convention here. doesn't change the main point.) >>> >>> >>> >>>>I know this is obvious to all concerned, but >>>>we are talking about definitions here, I think. >>> >>> >>>definitions are sometimes in the eye of the definer. whether someone >>>defines it this way or not, at its most fundamental, the DFT maps a >>>discrete infinite and periodic sequence in one domain (call it "time" >>>if you like) of period N to another infinite and periodic sequence in >>>the reciprocal domain (call it "frequency" if you like) of period N in >>>an invertable fashion according to the equations above (except perhaps >>>where the scaling factor is). >>> >>> >>> >>>>As I see it the DFT >>>>provides the coefficients, but this set of coefficients becomes a >>>>Fourier series only when you attach all the appropriate cos and sin >>>>functions. >>> >>> >>>but we *do* attach it to these sinusoidal functions. i ain't dealing >>>with the sines and the cosines. maybe Jerry is, but i ain't. but i >>>would call exp(j*theta) a "sinusoidal function" of sorts. >>> >>>r b-j >>> >> >>Robert, >>Of course I know that the independent variable does not have to be >>'time,' but seeing that this is comp.dsp rather than a maths newsgroup I >>thought I would stick with 'time,' rather than some sort of non-specific >>variable. (I have trouble keeping track of arguments if they are too >>general.) Instead of 'time,' you can substitute 'distance' or anything >>else, but when I said "The essential difference is that the Fourier >>series is a function of time, and the DFT isn't," I meant exactly that. > > > Well, in my experience the connection between some mathemathical > concept and a "physical" interpretation can some times be an obstacle, > not a help, in understanding the maths. I have several times not been > able to communicate what I consider very simple concepts because > the audience insisted on a "physical" interpretation of the maths > (or rather, the mathemathical line of reasoning), an interpretation > I was neither able to, or interested in, giving. Some times the maths > should not be interpreted but left as is. In my opinion, the DFT, when > one has moved beyond the very basics, is one of those things. >
Rune, Choosing a specific independent variable (t) in preference to a non-specific variable (v) does not change the maths. If you think my maths is in error please show where this occurs. I am not relying on any physical interpretation.
> >>I have read Rune's posting as well, and it appears that neither one of >>you is clearly distinguishing between: >>1. The cos and sin functions that are implied by the exponential form >>of the DFT output and > > > I can't see why this would be important or even relevant? Euler's > equations cleary state > > cos x = (exp(jx)+exp(+jx))/2 > sin x =(exp(jx)-exp(+jx))/j2 > > so whatever one thinks of the DFT, it is a matter of preference if > one chooses the complex exponential form or the sin+cos form. > It hardly changes the result.
I was responding to the fact that both Robert and you appear to be suggesting that the presence of an exponential term in the output of the DFT implies a sinusoidal function of time. I pointed out that this is not correct.
> > >>2. The cos and sin functions in the Fourier Series. > > > Again, why is this relevant? What is the problem with the complex > exponential? >
No problem at all as far as I am concerned. It is relevant because I believe you are confusing (1) and (2).
> >>In relation to (1), it should be emphasised that whereas e^(j*theta) >>appears in the exponential form of the DFT output, theta is the FIXED >>phase of the sinusoidal component. Theta is not the INSTANTANEOUS phase >>of the signal voltage (or luminosity or whatever) and so it is not the >>same as e^j(wt). This means that there is no immediate or direct >>relationship to the Fourier Series. > > > I don't understand this. The spectrum X(v), in lack of an agreed-upon > term, > of a signal x(u) is given as > > X(v) = |X(v)|exp(jphi_v)*exp(jv) > > where v takes the role w usually has. I have separated the two > exponential > terms to show that there are *two* components in the phase term of > the spectrun: The "frequency" v and the "phase" phi_v (qoutation marks > since the usual terminology seems to be disputed here.) > > Now, keeping the v (or w if you like) in a separate expunential term is > > a matter of convention, not necessity. So I can't see what the argument > > about the theta emntioned above being fixed, would be based on. >
I assume you meant the second exponential term to be exp(jwt). The problem is, the output of the Fourier Transform does not contain this second exponential term. This in fact seems to be an attempt to generate some sort of Fourier Series but if this is the case then the mathematics is invalid because the sinusoidal terms will all be imaginary. There are no imaginary terms in a Fourier Series.
> >> The phase-angle only determines the relative magnitude of the A and B >>coefficients in the rectangular form of the DFT output and once >>determined by the DFT process, is fixed in time. > > > I don't understand how anything in a DFT can be "fixed in time". The > DFT is a representation of a finite timewindow. The FT is a > representation > of an infinite time window. The magnitudes and phase in the spectrum > represent the whole interval, finite or infinite, and it makse no sense > > to discuss what a spectrum coefficient is at this or that instance in > time. > >
I will explain: The particular DFT is performed on a specific set of samples, taken at regular intervals. (I think in terms of voltage samples taken at time intervals, but I do not rely on this.) The output of the DFT is, in the first instance, a set of complex numbers, each one representing the amplitude of the cos and sin component of one particular frequency component in the signal. Alternatively, the set of complex numbers can be used to calculate the amplitude and phase of each frequency component present in the signal. The magnitudes and phases obtained are a record of the magnitudes an phases as they existed in the signal during the time interval encompassed by the set of samples that were taken, the time reference being the instance of the first sample. They are indeed "fixed in time." To emphasise this, the phase angles obtained by applying the DFT to a set of signal samples are constants, and are not functions of time. Please note that I did not " ...discuss what a spectrum coefficient is at this or that instance in time."
>>So, I agree with you >>when you say that " I would call exp(j*theta) a "sinusoidal function" of >>sorts." but I want to emphasise that exp(j*theta) is a sinusoidal >>function of phase-angle, not of time. > > > I believe the exponential form in the time-frequency Fourier transform > is exp(jwt), time is most certainly a parameter. >
> >>Regards, >>John > > > Rune >
Rune, the output of the time - domain to frequency-domain Fourier Transform does not contain exp(jwt). Regards, John
Rune Allnor wrote:
> Rune Allnor wrote: > >>John Monro wrote: >> >>>robert bristow-johnson wrote: >>> >>>>John Monro wrote: >>>> >>>> >>>>>robert bristow-johnson wrote: >>>>> >>>>> >>>>>>well, it isn't the same as a Fourier series of a periodic >>>>>>continuous-time function, but the DFT most certainly is the same as the >>>>>>Fourier series of a periodic discrete-time function. the DFT maps a >>>>>>discrete periodic function in one domain (call it the "time domain") of >>>>>>period N, to another discrete periodic function in the reciprocal >>>>>>domain (call that the "frequency domain") of the same period length, N. >>>>>>both discrete periodic functions are fully defined by N complex >>>>>>numbers and the DFT maps the N numbers from one to the N numbers of the >>>>>>other. >>>>> >>>>>While I agree that the DFT can be used to find the Fourier series, and >>>>>that this can be done accurately under the conditions you describe,I >>>>>don't agree that this makes the DFT the same as the Fourier series. >>>>> >>>>>The essential difference is that the Fourier series is a function of >>>>>time, and the DFT isn't. >>>> >>>> >>>>time, schmime! the math doesn't care if the "n" in x[n] is a function >>>>of time, or location (say on a digital photo), or a probability density >>>>function (in which you might be interested in the "characteristic >>>>function"). it doesn't matter. >>>> >>>>what we are doing is fitting a bunch of sinusoids (expressed in complex >>>>exponential form) to a given set of N equally spaced data points: >>>> >>>> N-1 >>>> x[n] = SUM{ X[k] * exp(j*2*pi*n*k/N) } >>>> k=0 >>>> >>>>where the X[k] are simply the coefficients of the N sinusoids. (here >>>>is where the inherent periodic extension of x[n] is apparent.) then >>>>when you solve for the N coefficients, you get >>>> >>>> N-1 >>>> X[k] = (1/N) * SUM{ x[n] * exp(-j*2*pi*n*k/N) } >>>> n=0 >>>> >>>>(i realize that the 1/N factor is moved from the common DFT definition. >>>> that is simply an issue of convention where i am not following the >>>>most common convention here. doesn't change the main point.) >>>> >>>> >>>> >>>>>I know this is obvious to all concerned, but >>>>>we are talking about definitions here, I think. >>>> >>>> >>>>definitions are sometimes in the eye of the definer. whether someone >>>>defines it this way or not, at its most fundamental, the DFT maps a >>>>discrete infinite and periodic sequence in one domain (call it "time" >>>>if you like) of period N to another infinite and periodic sequence in >>>>the reciprocal domain (call it "frequency" if you like) of period N in >>>>an invertable fashion according to the equations above (except perhaps >>>>where the scaling factor is). >>>> >>>> >>>> >>>>>As I see it the DFT >>>>>provides the coefficients, but this set of coefficients becomes a >>>>>Fourier series only when you attach all the appropriate cos and sin >>>>>functions. >>>> >>>> >>>>but we *do* attach it to these sinusoidal functions. i ain't dealing >>>>with the sines and the cosines. maybe Jerry is, but i ain't. but i >>>>would call exp(j*theta) a "sinusoidal function" of sorts. >>>> >>>>r b-j >>>> >>> >>>Robert, >>>Of course I know that the independent variable does not have to be >>>'time,' but seeing that this is comp.dsp rather than a maths newsgroup I >>>thought I would stick with 'time,' rather than some sort of non-specific >>>variable. (I have trouble keeping track of arguments if they are too >>>general.) Instead of 'time,' you can substitute 'distance' or anything >>>else, but when I said "The essential difference is that the Fourier >>>series is a function of time, and the DFT isn't," I meant exactly that. >> >>Well, in my experience the connection between some mathemathical >>concept and a "physical" interpretation can some times be an obstacle, >>not a help, in understanding the maths. I have several times not been >>able to communicate what I consider very simple concepts because >>the audience insisted on a "physical" interpretation of the maths >>(or rather, the mathemathical line of reasoning), an interpretation >>I was neither able to, or interested in, giving. Some times the maths >>should not be interpreted but left as is. In my opinion, the DFT, when >>one has moved beyond the very basics, is one of those things. >> >> >>>I have read Rune's posting as well, and it appears that neither one of >>>you is clearly distinguishing between: >>>1. The cos and sin functions that are implied by the exponential form >>>of the DFT output and >> >>I can't see why this would be important or even relevant? Euler's >>equations cleary state >> >> cos x = (exp(jx)+exp(+jx))/2 >> sin x =(exp(jx)-exp(+jx))/j2 >> >>so whatever one thinks of the DFT, it is a matter of preference if >>one chooses the complex exponential form or the sin+cos form. >>It hardly changes the result. >> >> >>>2. The cos and sin functions in the Fourier Series. >> >>Again, why is this relevant? What is the problem with the complex >>exponential? >> >> >>>In relation to (1), it should be emphasised that whereas e^(j*theta) >>>appears in the exponential form of the DFT output, theta is the FIXED >>>phase of the sinusoidal component. Theta is not the INSTANTANEOUS phase >>>of the signal voltage (or luminosity or whatever) and so it is not the >>>same as e^j(wt). This means that there is no immediate or direct >>>relationship to the Fourier Series. >> >>I don't understand this. The spectrum X(v), in lack of an agreed-upon >>term, >>of a signal x(u) is given as >> >> X(v) = |X(v)|exp(jphi_v)*exp(jv) >> >>where v takes the role w usually has. I have separated the two >>exponential >>terms to show that there are *two* components in the phase term of >>the spectrun: The "frequency" v and the "phase" phi_v (qoutation marks >>since the usual terminology seems to be disputed here.) >> >>Now, keeping the v (or w if you like) in a separate expunential term is >> >>a matter of convention, not necessity. So I can't see what the argument >> >>about the theta emntioned above being fixed, would be based on. >> >> >>> The phase-angle only determines the relative magnitude of the A and B >>>coefficients in the rectangular form of the DFT output and once >>>determined by the DFT process, is fixed in time. >> >>I don't understand how anything in a DFT can be "fixed in time". The >>DFT is a representation of a finite timewindow. The FT is a >>representation >>of an infinite time window. The magnitudes and phase in the spectrum >>represent the whole interval, finite or infinite, and it makse no sense >> >>to discuss what a spectrum coefficient is at this or that instance in >>time. >> >> >>>So, I agree with you >>>when you say that " I would call exp(j*theta) a "sinusoidal function" of >>>sorts." but I want to emphasise that exp(j*theta) is a sinusoidal >>>function of phase-angle, not of time. >> >>I believe the exponential form in the time-frequency Fourier transform >>is exp(jwt), time is most certainly a parameter. >> >> >>>Regards, >>>John >> >>Rune > > > Sorry for not including this link in the post, but here is something > I wrote a couple of years ago over the same subject: > > http://groups.google.com/group/comp.dsp/msg/1b54613639fc81f5 > > I don't think I'll be able to say it much better. Except for brushing > up on the orthography, which is on its usual standard. > > Rune >
Rune, Thanks for the reference. It brings up some interesting points, but appears to relate more to the issue of what the DFT represents and, by inference, how well the Fourier Series will reconstruct a waveform. This is something I avoided as the discussion was already well under way whan I came acrosss the main thread. As far as I can see the reference does not relate at all to the issue of whether the DFT and the Fourier Series are the same thing, which is where I entered. Regards, John
John Monro wrote:

   ...

> You point out that the DFT, and the integration you describe, each > produce only numbers, not equations. This supports my position that > the DFT and the Fourier Series can not be regarded as the same thing. > Jerry, I am not entirely sure what your position is on this specific point.
My point is that /neither/ the DFT /nor/ the classic computation of the Fourier series' coefficients by integration produce a Fourier series per se, and that /both/ computations produce the same numbers and nothing else. If I haven't established that, there's little to be gained from discussing its implications. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
John Monro wrote:
> Rune Allnor wrote: > > John Monro wrote: > > > >>robert bristow-johnson wrote: > >> > >>>John Monro wrote: > >>> > >>> > >>>>robert bristow-johnson wrote: > >>>> > >>>> > >>>>>well, it isn't the same as a Fourier series of a periodic > >>>>>continuous-time function, but the DFT most certainly is the same as the > >>>>>Fourier series of a periodic discrete-time function. the DFT maps a > >>>>>discrete periodic function in one domain (call it the "time domain") of > >>>>>period N, to another discrete periodic function in the reciprocal > >>>>>domain (call that the "frequency domain") of the same period length, N. > >>>>>both discrete periodic functions are fully defined by N complex > >>>>>numbers and the DFT maps the N numbers from one to the N numbers of the > >>>>>other. > >>>> > >>>>While I agree that the DFT can be used to find the Fourier series, and > >>>>that this can be done accurately under the conditions you describe,I > >>>>don't agree that this makes the DFT the same as the Fourier series. > >>>> > >>>>The essential difference is that the Fourier series is a function of > >>>>time, and the DFT isn't. > >>> > >>> > >>>time, schmime! the math doesn't care if the "n" in x[n] is a function > >>>of time, or location (say on a digital photo), or a probability density > >>>function (in which you might be interested in the "characteristic > >>>function"). it doesn't matter. > >>> > >>>what we are doing is fitting a bunch of sinusoids (expressed in complex > >>>exponential form) to a given set of N equally spaced data points: > >>> > >>> N-1 > >>> x[n] = SUM{ X[k] * exp(j*2*pi*n*k/N) } > >>> k=0 > >>> > >>>where the X[k] are simply the coefficients of the N sinusoids. (here > >>>is where the inherent periodic extension of x[n] is apparent.) then > >>>when you solve for the N coefficients, you get > >>> > >>> N-1 > >>> X[k] = (1/N) * SUM{ x[n] * exp(-j*2*pi*n*k/N) } > >>> n=0 > >>> > >>>(i realize that the 1/N factor is moved from the common DFT definition. > >>> that is simply an issue of convention where i am not following the > >>>most common convention here. doesn't change the main point.) > >>> > >>> > >>> > >>>>I know this is obvious to all concerned, but > >>>>we are talking about definitions here, I think. > >>> > >>> > >>>definitions are sometimes in the eye of the definer. whether someone > >>>defines it this way or not, at its most fundamental, the DFT maps a > >>>discrete infinite and periodic sequence in one domain (call it "time" > >>>if you like) of period N to another infinite and periodic sequence in > >>>the reciprocal domain (call it "frequency" if you like) of period N in > >>>an invertable fashion according to the equations above (except perhaps > >>>where the scaling factor is). > >>> > >>> > >>> > >>>>As I see it the DFT > >>>>provides the coefficients, but this set of coefficients becomes a > >>>>Fourier series only when you attach all the appropriate cos and sin > >>>>functions. > >>> > >>> > >>>but we *do* attach it to these sinusoidal functions. i ain't dealing > >>>with the sines and the cosines. maybe Jerry is, but i ain't. but i > >>>would call exp(j*theta) a "sinusoidal function" of sorts. > >>> > >>>r b-j > >>> > >> > >>Robert, > >>Of course I know that the independent variable does not have to be > >>'time,' but seeing that this is comp.dsp rather than a maths newsgroup I > >>thought I would stick with 'time,' rather than some sort of non-specific > >>variable. (I have trouble keeping track of arguments if they are too > >>general.) Instead of 'time,' you can substitute 'distance' or anything > >>else, but when I said "The essential difference is that the Fourier > >>series is a function of time, and the DFT isn't," I meant exactly that. > > > > > > Well, in my experience the connection between some mathemathical > > concept and a "physical" interpretation can some times be an obstacle, > > not a help, in understanding the maths. I have several times not been > > able to communicate what I consider very simple concepts because > > the audience insisted on a "physical" interpretation of the maths > > (or rather, the mathemathical line of reasoning), an interpretation > > I was neither able to, or interested in, giving. Some times the maths > > should not be interpreted but left as is. In my opinion, the DFT, when > > one has moved beyond the very basics, is one of those things. > > > Rune, > Choosing a specific independent variable (t) in preference to a > non-specific variable (v) does not change the maths. If you think my > maths is in error please show where this occurs. I am not relying on > any physical interpretation.
I was suggesting that mixing maths and physics might confuse things more than it helps. Some times the maths ought to be left abstract.
> >>I have read Rune's posting as well, and it appears that neither one of > >>you is clearly distinguishing between: > >>1. The cos and sin functions that are implied by the exponential form > >>of the DFT output and > > > > > > I can't see why this would be important or even relevant? Euler's > > equations cleary state > > > > cos x = (exp(jx)+exp(+jx))/2 > > sin x =(exp(jx)-exp(+jx))/j2 > > > > so whatever one thinks of the DFT, it is a matter of preference if > > one chooses the complex exponential form or the sin+cos form. > > It hardly changes the result. > > I was responding to the fact that both Robert and you appear to be > suggesting that the presence of an exponential term in the output of the > DFT implies a sinusoidal function of time. I pointed out that this is > not correct.
It depends what you mean by "sinusoidal." I use the term loosely, so that all the functions sin(x), cos(x) and exp(jx) (x real), that are periodic in the argument x, are "sinusoidals." These functions are connected by Euler's equations above. Where one occurs, one can substiute the others as one pleases.
> >>2. The cos and sin functions in the Fourier Series. > > > > > > Again, why is this relevant? What is the problem with the complex > > exponential? > > > No problem at all as far as I am concerned. It is relevant because I > believe you are confusing (1) and (2).
I interpret this as if you mean the functions sin(x), cos(s) and exp(jx) should be kept well apart. Again, I don't see why. Could you elaborate?
> >>In relation to (1), it should be emphasised that whereas e^(j*theta) > >>appears in the exponential form of the DFT output, theta is the FIXED > >>phase of the sinusoidal component. Theta is not the INSTANTANEOUS phase > >>of the signal voltage (or luminosity or whatever) and so it is not the > >>same as e^j(wt). This means that there is no immediate or direct > >>relationship to the Fourier Series. > > > > > > I don't understand this. The spectrum X(v), in lack of an agreed-upon > > term, > > of a signal x(u) is given as > > > > X(v) = |X(v)|exp(jphi_v)*exp(jv) > > > > where v takes the role w usually has. I have separated the two > > exponential > > terms to show that there are *two* components in the phase term of > > the spectrun: The "frequency" v and the "phase" phi_v (qoutation marks > > since the usual terminology seems to be disputed here.) > > > > Now, keeping the v (or w if you like) in a separate expunential term is > > > > a matter of convention, not necessity. So I can't see what the argument > > > > about the theta emntioned above being fixed, would be based on. > > > I assume you meant the second exponential term to be exp(jwt).
No, I meant exp(jvu). The "u" was missing in my post (a typo of mine), "v" instead of "w" in order to keep the physics out of the discussion.
> The > problem is, the output of the Fourier Transform does not contain this > second exponential term.
It contains two exponential terms: The phase term that is usually sorted out as the phase of the complex Fourier coefficient, and the exp(jvu) term, usually seen as exp(jwt). again, I change the variables to keep the physical interpretations out.
> This in fact seems to be an attempt to generate > some sort of Fourier Series but if this is the case then the mathematics > is invalid because the sinusoidal terms will all be imaginary. There > are no imaginary terms in a Fourier Series.
Sure there is: X(v) = integral x(u) exp(juv) du = integral x(u)(cos(uv) + jsin(uv)) du where I applied Euler's equations above.
>From the above,
Im{X(v)} = integral x(u)sin(uv)du assuming x(u) is real.
> >> The phase-angle only determines the relative magnitude of the A and B > >>coefficients in the rectangular form of the DFT output and once > >>determined by the DFT process, is fixed in time. > > > > > > I don't understand how anything in a DFT can be "fixed in time". The > > DFT is a representation of a finite timewindow. The FT is a > > representation > > of an infinite time window. The magnitudes and phase in the spectrum > > represent the whole interval, finite or infinite, and it makse no sense > > > > to discuss what a spectrum coefficient is at this or that instance in > > time. > > > > > I will explain: The particular DFT is performed on a specific set of > samples, taken at regular intervals. (I think in terms of voltage > samples taken at time intervals, but I do not rely on this.) > > The output of the DFT is, in the first instance, a set of complex > numbers, each one representing the amplitude of the cos and sin > component of one particular frequency component in the signal. > > Alternatively, the set of complex numbers can be used to calculate the > amplitude and phase of each frequency component present in the signal. > > The magnitudes and phases obtained are a record of the magnitudes an > phases as they existed in the signal during the time interval > encompassed by the set of samples that were taken, the time reference > being the instance of the first sample. They are indeed "fixed in > time." To emphasise this, the phase angles obtained by applying the DFT > to a set of signal samples are constants, and are not functions of time. > > Please note that I did not " ...discuss what a spectrum coefficient is > at this or that instance in time."
So why did you say that "The phase-angle only determines the relative magnitude of the A and B... and once determined by the DFT process, is fixed in time."? I don't understand what you mean. In my world, the DFT/FT coefficents represent the whole interval, time has nothing to do with them.
> >>So, I agree with you > >>when you say that " I would call exp(j*theta) a "sinusoidal function" of > >>sorts." but I want to emphasise that exp(j*theta) is a sinusoidal > >>function of phase-angle, not of time. > > > > > > I believe the exponential form in the time-frequency Fourier transform > > is exp(jwt), time is most certainly a parameter. > > > > > > >>Regards, > >>John > > > > > > Rune > > > > Rune, the output of the time - domain to frequency-domain Fourier > Transform does not contain exp(jwt).
Not explicitly, but implicitly. The Fourier coefficents make no sense unless they are viewed as coefficeints in the Fourier representation of the signal, x(u) = integral X(v) exp(juv) dv Unless the coefficients are interpreted in view of the IFT/IDFT, they are mere numbers. What help is it to you if you learn that the 5th Fourier coefficent has the numerical value, say, 1-j? None at all, unless you also learn the frequency v above, w in the usual context. Only then are you able to actually interpret the Fourier coefficent in a useful way. Rune
John Monro wrote:

   ...

> As far as I can see the reference does not relate at all to the issue of > whether the DFT and the Fourier Series are the same thing, which is > where I entered.
A DFT is no more a Fourier series than the counting of ballots is the person elected. What applies to a DFT applies to any other procedure for calculating coefficients. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
John Monro wrote:
> Rune Allnor wrote: > > Rune Allnor wrote: > > > >>John Monro wrote: > >> > >>>robert bristow-johnson wrote: > >>> > >>>>John Monro wrote: > >>>> > >>>> > >>>>>robert bristow-johnson wrote: > >>>>> > >>>>> > >>>>>>well, it isn't the same as a Fourier series of a periodic > >>>>>>continuous-time function, but the DFT most certainly is the same as the > >>>>>>Fourier series of a periodic discrete-time function. the DFT maps a > >>>>>>discrete periodic function in one domain (call it the "time domain") of > >>>>>>period N, to another discrete periodic function in the reciprocal > >>>>>>domain (call that the "frequency domain") of the same period length, N. > >>>>>>both discrete periodic functions are fully defined by N complex > >>>>>>numbers and the DFT maps the N numbers from one to the N numbers of the > >>>>>>other. > >>>>> > >>>>>While I agree that the DFT can be used to find the Fourier series, and > >>>>>that this can be done accurately under the conditions you describe,I > >>>>>don't agree that this makes the DFT the same as the Fourier series. > >>>>> > >>>>>The essential difference is that the Fourier series is a function of > >>>>>time, and the DFT isn't. > >>>> > >>>> > >>>>time, schmime! the math doesn't care if the "n" in x[n] is a function > >>>>of time, or location (say on a digital photo), or a probability density > >>>>function (in which you might be interested in the "characteristic > >>>>function"). it doesn't matter. > >>>> > >>>>what we are doing is fitting a bunch of sinusoids (expressed in complex > >>>>exponential form) to a given set of N equally spaced data points: > >>>> > >>>> N-1 > >>>> x[n] = SUM{ X[k] * exp(j*2*pi*n*k/N) } > >>>> k=0 > >>>> > >>>>where the X[k] are simply the coefficients of the N sinusoids. (here > >>>>is where the inherent periodic extension of x[n] is apparent.) then > >>>>when you solve for the N coefficients, you get > >>>> > >>>> N-1 > >>>> X[k] = (1/N) * SUM{ x[n] * exp(-j*2*pi*n*k/N) } > >>>> n=0 > >>>> > >>>>(i realize that the 1/N factor is moved from the common DFT definition. > >>>> that is simply an issue of convention where i am not following the > >>>>most common convention here. doesn't change the main point.) > >>>> > >>>> > >>>> > >>>>>I know this is obvious to all concerned, but > >>>>>we are talking about definitions here, I think. > >>>> > >>>> > >>>>definitions are sometimes in the eye of the definer. whether someone > >>>>defines it this way or not, at its most fundamental, the DFT maps a > >>>>discrete infinite and periodic sequence in one domain (call it "time" > >>>>if you like) of period N to another infinite and periodic sequence in > >>>>the reciprocal domain (call it "frequency" if you like) of period N in > >>>>an invertable fashion according to the equations above (except perhaps > >>>>where the scaling factor is). > >>>> > >>>> > >>>> > >>>>>As I see it the DFT > >>>>>provides the coefficients, but this set of coefficients becomes a > >>>>>Fourier series only when you attach all the appropriate cos and sin > >>>>>functions. > >>>> > >>>> > >>>>but we *do* attach it to these sinusoidal functions. i ain't dealing > >>>>with the sines and the cosines. maybe Jerry is, but i ain't. but i > >>>>would call exp(j*theta) a "sinusoidal function" of sorts. > >>>> > >>>>r b-j > >>>> > >>> > >>>Robert, > >>>Of course I know that the independent variable does not have to be > >>>'time,' but seeing that this is comp.dsp rather than a maths newsgroup I > >>>thought I would stick with 'time,' rather than some sort of non-specific > >>>variable. (I have trouble keeping track of arguments if they are too > >>>general.) Instead of 'time,' you can substitute 'distance' or anything > >>>else, but when I said "The essential difference is that the Fourier > >>>series is a function of time, and the DFT isn't," I meant exactly that. > >> > >>Well, in my experience the connection between some mathemathical > >>concept and a "physical" interpretation can some times be an obstacle, > >>not a help, in understanding the maths. I have several times not been > >>able to communicate what I consider very simple concepts because > >>the audience insisted on a "physical" interpretation of the maths > >>(or rather, the mathemathical line of reasoning), an interpretation > >>I was neither able to, or interested in, giving. Some times the maths > >>should not be interpreted but left as is. In my opinion, the DFT, when > >>one has moved beyond the very basics, is one of those things. > >> > >> > >>>I have read Rune's posting as well, and it appears that neither one of > >>>you is clearly distinguishing between: > >>>1. The cos and sin functions that are implied by the exponential form > >>>of the DFT output and > >> > >>I can't see why this would be important or even relevant? Euler's > >>equations cleary state > >> > >> cos x = (exp(jx)+exp(+jx))/2 > >> sin x =(exp(jx)-exp(+jx))/j2 > >> > >>so whatever one thinks of the DFT, it is a matter of preference if > >>one chooses the complex exponential form or the sin+cos form. > >>It hardly changes the result. > >> > >> > >>>2. The cos and sin functions in the Fourier Series. > >> > >>Again, why is this relevant? What is the problem with the complex > >>exponential? > >> > >> > >>>In relation to (1), it should be emphasised that whereas e^(j*theta) > >>>appears in the exponential form of the DFT output, theta is the FIXED > >>>phase of the sinusoidal component. Theta is not the INSTANTANEOUS phase > >>>of the signal voltage (or luminosity or whatever) and so it is not the > >>>same as e^j(wt). This means that there is no immediate or direct > >>>relationship to the Fourier Series. > >> > >>I don't understand this. The spectrum X(v), in lack of an agreed-upon > >>term, > >>of a signal x(u) is given as > >> > >> X(v) = |X(v)|exp(jphi_v)*exp(jv) > >> > >>where v takes the role w usually has. I have separated the two > >>exponential > >>terms to show that there are *two* components in the phase term of > >>the spectrun: The "frequency" v and the "phase" phi_v (qoutation marks > >>since the usual terminology seems to be disputed here.) > >> > >>Now, keeping the v (or w if you like) in a separate expunential term is > >> > >>a matter of convention, not necessity. So I can't see what the argument > >> > >>about the theta emntioned above being fixed, would be based on. > >> > >> > >>> The phase-angle only determines the relative magnitude of the A and B > >>>coefficients in the rectangular form of the DFT output and once > >>>determined by the DFT process, is fixed in time. > >> > >>I don't understand how anything in a DFT can be "fixed in time". The > >>DFT is a representation of a finite timewindow. The FT is a > >>representation > >>of an infinite time window. The magnitudes and phase in the spectrum > >>represent the whole interval, finite or infinite, and it makse no sense > >> > >>to discuss what a spectrum coefficient is at this or that instance in > >>time. > >> > >> > >>>So, I agree with you > >>>when you say that " I would call exp(j*theta) a "sinusoidal function" of > >>>sorts." but I want to emphasise that exp(j*theta) is a sinusoidal > >>>function of phase-angle, not of time. > >> > >>I believe the exponential form in the time-frequency Fourier transform > >>is exp(jwt), time is most certainly a parameter. > >> > >> > >>>Regards, > >>>John > >> > >>Rune > > > > > > Sorry for not including this link in the post, but here is something > > I wrote a couple of years ago over the same subject: > > > > http://groups.google.com/group/comp.dsp/msg/1b54613639fc81f5 > > > > I don't think I'll be able to say it much better. Except for brushing > > up on the orthography, which is on its usual standard. > > > > Rune > > > Rune, > Thanks for the reference. It brings up some interesting points, but > appears to relate more to the issue of what the DFT represents and, by > inference, how well the Fourier Series will reconstruct a waveform. > This is something I avoided as the discussion was already well under way > whan I came acrosss the main thread. > > As far as I can see the reference does not relate at all to the issue of > whether the DFT and the Fourier Series are the same thing, which is > where I entered. > > Regards, > John
Eh... I see a definite difference between the FT, defined as an integral of a continuous function over infinite-time, and the DFT, defined as a sum over a finite number of discrete numbers. To me, the FT and the DFT are clearly not "the same thing". If we don't agree on this as a major difference between the two, I am not sure how useful any further debate will be. Rune
Andor wrote:
   ...

> Clearly not! The DFT is a unitary map on a _finite_ dimensional complex > vector space. There are no infinite sequences implied in the DFT.
There are no wet floors implied by a leaky roof. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;