i have a signal of full sinewave which is starting with a dc and ends with a dc, means it starts with a horizontal line then a full sinewave then again a horizontal line. i m taking its FFT with hamming. now tell me how should i slect the no. of samples and the starting of samples such that if i will shift the sinewave in the hamming window peak value should not change. dc doesnt contribute any change in FFT.should we place the positive peak at the centre of the hamming window, is it necessary?please solve my query as soon as possible.
waiting for your reply.