# Effect of Windowing Function on Autocorrelation Function

I need to compute FFT components and autocorrelation of a discrete signal. When I do not use any window function before taking FFT of the signal I get a reasonable AC function from FFT that includes some information about period of the signal: However when I apply a window function (Hanning) before applying FFT I got an AC function that seems to be distorted: What is the effect of window function on an AC function that is computed from FFT?

• What exactly are you plotting? You have plotted negative FFT values, which tells me that you are not plotting the FFT magnitude or power. FFT results are generally complex, and thus you should not be able to plot what you have unless you are ignoring the imaginary portion of the results. – Jim Clay Sep 24 '12 at 3:34
• I've plotted the autocorrelation function which is computed using FFT. – mostar Sep 24 '12 at 5:27
{"ft_lang_label":"__label__en","ft_lang_prob":0.92333925,"math_prob":0.62392575,"size":444,"snap":"2021-31-2021-39","text_gpt3_token_len":89,"char_repetition_ratio":0.17045455,"word_repetition_ratio":0.0,"special_character_ratio":0.19144145,"punctuation_ratio":0.04761905,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9696416,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,5,null,5,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-08-05T15:39:14Z\",\"WARC-Record-ID\":\"<urn:uuid:a7689c43-54ce-4dcd-b7ca-0f2ca5f38560>\",\"Content-Length\":\"166284\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:32b83e8a-4fe4-445e-b2aa-4b64898a1a05>\",\"WARC-Concurrent-To\":\"<urn:uuid:df3c8187-3aea-4689-a049-424d3926704c>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://dsp.stackexchange.com/questions/3408/effect-of-windowing-function-on-autocorrelation-function/3421\",\"WARC-Payload-Digest\":\"sha1:WGMVPB7XY4FVSDFKDBQKOUZJPT2EG7C2\",\"WARC-Block-Digest\":\"sha1:2EEL6K722AKYLOY4RLQQBBAH2DGDE26R\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046155925.8_warc_CC-MAIN-20210805130514-20210805160514-00489.warc.gz\"}"}