Coding, Signal Processing, Machine Learning, AI, Artificial Intelligence.
ifft from scipy.signal import hamming N = 1024 T=1/512 x = np.linspace(0.0, N*T, N) sinewave = np.sin(50.0 * 2.0*np.pi*x) sinefft=fft(sinewave) xfft=np.linspace(0.0, (N*T), N) plt.plot(xfft, sinefft) plt.show() Windowing Windowing, as the name suggests, is used to take a small window of the dataset