Coding, Signal Processing, Machine Learning, AI, Artificial Intelligence.
np.sin(50.0 * 2.0*np.pi*x) sinefft=fft(sinewave) xfft=np.linspace(0.0, (N*T), N) hng=hanning(N) win=fft(sinewave*hng) plt.plot(xfft, win) plt.show() The output of the above code looks like this: Discrete Fourier Transform (DFT): As the name suggests, a Discrete Fourier transform is a sinusoidal