Quantcast
Viewing all articles
Browse latest Browse all 4448

Discrete Fourier Transform

@eafpres wrote:

I'm trying to use a discrete Fourier transform to find the main frequency components of some multiply periodic time series data. I want to construct a waveform that contains the main periodic features and use that to normalize out most of the periodc structure. I then plan further analysis on the resulting transformed data.

I'm having issues not with the DFT per se, but with trying to construct the normalization function from the DFT results. I'm using the DFT in Excel for now, but I don't think that matters at it is pretty standard.

The problems I'm having are:
1) Phase information seems wrong, but not in an obvious way
2) The average of the data set, which should be in the 0 frequency coefficient, is way off. For example, adding 3 sine waves with different phases and amplitudes, the result is a complicated but periodic wave, with average 0 if I don't add bias to any of the 3 componnets. But the DFT returns the 0 value of, say,700.
3) I'm not sure how to get the amplitudes for the main frequency components. I can do the transform, and the freuquencies are found more or less correctly, but the magnitudes of frequency components are very large, again expecting smaller values. I'm guessing this isn't the right way to get the magnitudes for reconstruction but I can't seem to find that.
4) If I hack in the (known) magnitudes of my test case, I get close, but the phase is off and there is some kind of mirroring in the time domain. So I'm not getting the right reconstruction.

If there is anyone here who has experience with DFT I would welcome suggestions. I realize this is a messy question. I'm happy to provide some example data if needed.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles