fftfreq (len(y), d=x[1]-x[0]) plt.plot(freq, abs(f)**2) ## will show a peak at a frequency of 1 as it should. enter image ...
確定! 回上一頁