# Prepare Buffer for Inverse FFT

How should buffer value at N/2 get initialized prior to performing an inverse FFT on a buffer, size N, that contains a complex frequency response in only values 0 to N/2-1? It is pretty clear the buffer needs to be made symmetrical for prior to calculating the inverse FFT per table 12-1 of http://www.dspguide.com/ch12/1.htm. What is not clear is how to initialize the value at N/2. Is it related to value at 0?

-
A couple of questions- 1) how did you get the data in the buffer that you are going to run the inverse FFT on? 2) Why do you say that it only has frequency components from 0 to N/2-1? – Jim Clay Jan 14 '13 at 19:03
The source data comes from an external graphing tool that allows the user to draw an arbitrary frequency response. That tool supplies the data on 0 to N/2-1. – SpeedCoder5 Jan 14 '13 at 20:09
Just set the value at N/2 to zero - it corresponds to Nyquist and there will typically be very little energy at that frequency (otherwise you have bigger problems to worry about). – Paul R Jan 14 '13 at 21:17