先上代码:import numpy as npimport matplotlib.pyplot as pltfs=10ts=1/fst=np.arange(-5,5,ts)#生成时间序列,采样间隔0.1sk=np.arange(t.size)#DFT的自 ...
確定! 回上一頁