🌈 搜索
📅  最后修改于: 2022-03-11 14:55:23.287000             🧑  作者: Mango
t=0:0.1:1000;f1 = 2;f2 = 3;x =cos(2*pi*f1.*t) + sin(2*pi*f2.*t);X=abs(fft(x))/numel(t);plot(t,X);