I perform FFT of two real sequences using "two for the price of one" - array $x[n]$ and $y[n]$ is packed as a complex number - $z[n] = x[n] + j y[n]$ - using FFT2 and FFTW. I am able to decode the half-complex output format of FFTW and the result match with the output of FFT2.
The output conversion goes like this. If FFT of complex sequence $z[n]$ is $Z[k]$ where $Z[k] = FFT\{z[n]\}$. The equations look something like this
$$FFT\{x[n]\} = (Z[k] + Z^*[N-k]) / 2 $$
$$FFT\{y[n]\} = (Z[k] - Z^*[N-k]) / (2j) $$
When I perform inverse FFT with FFTW I am unable to understand the output format of FFTW and the inverse output or FFT2 do not agree with FFTW. Any clue on how to transform the output of inverse FFT to generate inverse FFT of two sequences.