|
SOLUTIONS
|
CUDALINK SYMBOL
CUDAFourier
CUDAFourier[list]
finds the discrete Fourier transform of a list of complex numbers.
CUDAFourier[mem]
finds the discrete Fourier transform of a CUDAMemory.
ExamplesExamplesopen allclose all
Basic Examples (3)Basic Examples (3)
First, load the CUDALink application:
| In[1]:= |
This generates a random list of reals:
| In[2]:= |
This computes the one-dimensional Fourier transform using CUDA:
| In[3]:= |
| Out[3]= | ![]() |
The result agrees with Mathematica:
| In[4]:= |
| Out[4]= | ![]() |
works on two-dimensional datasets. Here, a dataset is generated:
| In[1]:= |
Find the logarithmic power spectrum:
| In[2]:= |
| Out[2]= | ![]() |
can be used on multidimensional datasets. This gets the data from an image:
| In[1]:= |
This performs the Fourier operation:
| In[2]:= |
This shows the absolute value of the result:
| In[3]:= |
| Out[3]= | ![]() |
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »





