**Have a Question?**

**Phone:** +1 (888) 427-9486

+1 (312) 257-3777

Contact Us

# DFT - Trigonometric Representation

Attachment | Size | |
---|---|---|

IDFT-Manual_Calculation.pdf | ||

IDFT-Manual_Calculation.xlsx |

This is the second tutorial in our ongoing series on time series spectral analysis. In this entry, we will continue our discussion on discrete Fourier Transform in Excel, its interpretation and application in time domain.

The DFT^{i} is basically a mathematical transformation and may be a bit dry, but we hope that this tutorial will leave you with a deeper understanding and intuition through the use of NumXL functions and wizards.

## background

There have been several inquiries since the time we released our first entry on DFT, especially about using the DFT components to represent the input data set as the sum of the trigonometric sine-cosine functions. The inquiries were motivated by using this representation to interpolate intermediate values, and possibly extrapolate (aka forecast) beyond the input data set.

In principle, the DFT converts a discrete set of observations into a series of continuous trigonometric (i.e. sine and cosine) functions. So the original signal can be represented as:

Where

- is the value of the observation at time .
- is the discrete time at which an observation was taken.
- .
- is the number of observations in the input data set.
- is the fundamental or principle frequency.
- is the amplitude and the phase of the i-th discrete Fourier component.

## Analysis

Examining the Fourier transform’s components (i.e. amplitude and phase) of a finite series closer, we find the following observations:

**OR**

- The amplitude series is symmetrical around the component.
- The phase of the component is the negative of the component.

In essence, we only need the 1st half of the DFT components to recover the original input data set. The original time is represented by the following components:

### Proof

**IMPORTANT:** For an even-sized input data set, the last DFT component (i.e. ) does not need to be multiplied by 2. So the cosine representation of the input data is expressed as follows:

## Conclusion

Using the discrete Fourier transform, we represent the discrete input data set as the sum of deterministic continuous trigonometric functions.

Dissimilar to the original data, which is defined at discrete time instances, the Fourier representation is continuous and thus defined at all-time values. Using this continuous representation, we can interpolate any values in this range (but not for extrapolation/forecast).

Attachment | Size |
---|---|

IDFT-Manual_Calculation.pdf | 155.8 KB |

IDFT-Manual_Calculation.xlsx | 30.13 KB |