cJ()

function out=cJ(in)

Input:

Global variables:

Output:

Write a file ``cJ.m'' containing a function of the above specification which uses fftw3 to compute the inverse Fourier transform.

Hint: Do not forget the normalization factor $\prod S_k$.

To test your transforms execute the following commands at the octave prompt:

in=randn(prod(S),1); %# Random input vector
cJ(cI(in))./in %# Check ratio of cJ applied to cI(in) to in


Tomas Arias 2005-04-03