np.fft.fftfreq tells you the frequencies associated with the coefficients: import numpy as np x = np.array([1, 2, 1, 0, 1, 2, 1, 0]) w = np.fft.fft(x) freqs ...
確定! 回上一頁