Fourier
Usage
Notes
Further Examples
Here is some sample data.
In[1]:=
|
This computes the discrete Fourier transform of the data. In general, the result is a list of complex numbers.
In[2]:=
|
Out[2]=
|
Chop is used to discard the tiny imaginary parts that appear due to numerical error.
In[3]:=
|
Out[3]=
|
As a check here is the computation of the discrete Fourier transform directly from the definition.
In[4]:=
|
Out[4]=
|
This returns the original data.
In[5]:=
|
Out[5]=
|
This gives the discrete Fourier transform of the data with Fourier parameters as used in signal processing.
In[6]:=
|
Out[6]=
|
Here is an example in two dimensions such as might come up in analyzing light passing through an aperture.
In[7]:=
|
Out[7]=
|
This gives the two-dimensional discrete Fourier transform.
In[8]:=
|
Out[8]=
|
In[9]:=
|
|