I'm working on Ornstein Zernike Equation, to study the effective interactions between charged model colloids. To calculate the structure factor for colloids I wanted to use fourier transforms.
for direct fast Fourrier transform of a fonction v, use the command v_hat = fft(v)n for inverse fft use the command : v=ifft(v_hat)). I hope this brief answer will be sufficient.