Fourier Transforms
HOME Math Software Downloads Numerical Methods Register Your Software Contact Search Credit

Linear Algebra
Ordinary Differential Equations
Systems of Nonlinear Equations
Multiple Integration
Maxima and Minima
Functions and Equations
Approximation & Interpolation
Math Miscellanea
Support Software
Numerical Methods:
Integration and Differentiation
Solution of Equations
Maxima and Minima
Approximation of Functions
Polynomial Regression
Fast Fourier Transforms
Differential Equations
Linear Algebra Methods
Miscellaneous Procedures
Decimal Comma/Decimal Point

Fourier Transforms

To fit a tabulated function with a Fourier approximation Fast Fourier Transform methods are used.  This type of method factors the Fourier transform into the product of two transforms, if the number M of data points can be factored. Using complex notation, the coefficients are given by

     1   M-1             2pi
Ck =  
  F(xp) EXP(- k xp )
     M   p=0              L

We will assume the interval to be [0,2p] so its length is L=2p.  Also, the points are assumed to be evenly spaced and M is assumed to be even.

Let's call M=M0.  If M0 is factorable into  M0=H0 H1 we write

k = K1 H1 + K0  ;  p = p1 H0 + p0  ;  M1 = M0/H0  ;  xp= p

Some manipulation would bring us to the desired factorization:

     1   H0-1        2pi        H1-1        2pi
Ck =    
   EXP(- K0 p0)    EXP(- K1p1) F(p0+p1H0)
     M0  p0=0         M0        p1=0         M1

Of course, if H1 can be in turn factored, then the second can be further factored into two other 's.

With multivariable functions the program takes advantage of the fact that the grid is rectangular to shorten the computations.

An example of a tabulated function in two variables which can be approximated by the FOURIER TRANSFORMS program is:

    y: 0   p/2   p    3p/2  2p 
0      2   -1    2    -3     2  
p/2    4    1    4    -1     4  
p      2   -1    2    -3     2  
p/2   0   -3    0    -5     0  
p     2   -1    2    -3     2  

Note that, even though there are 5 values in each direction, only 4 of the function's values are independent because its value at the interval's end point must be the same as at the initial point because of the required periodicity.

The correlation coefficient is computed with

       [festimated - fmean]2
SQR ( )

where the summations are over all independent data points.

The standard error of estimate is calculated using

       [f - festimated ]2
SQR ( )

where the summations are also over all independent data points.

The festimated is found using the approximation obtained.

Copyright 2001-2010 Numerical Mathematics. All rights reserved.