I am looking into the fft document. In the first example – noisy signal, if I change the length of the signal into L = 1520, I cannot get the correct amplitude-spectrum plot as in the third figure. The amplitude of the two components is a little less than what they are expected (0.7 and 1).
I tried several lengths of the signal. Only when L is a multiple of 100 can give the correct amplitude spectrum. I am wondering why.
Thanks,
Jiaqi
Best Answer