cJ()

function out=cJ(in)

Input:

Global variables:

Output:

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

Hint: Do not forget the normalization factor $1/\prod_k 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 2006-04-05