資源簡(jiǎn)介
matlab fft變換,使用簡(jiǎn)單,沒(méi)有什么好說(shuō)明的,但官方必須要我湊字五十個(gè)字
代碼片段和文件信息
fs=1024;%采樣頻率
N=10240;%采樣點(diǎn)數(shù)量
n=0:N-1;
t=n/fs;
f0=10;
x1=10*sin(2*pi*f0*t);
x2=4*sin(2*pi*5*f0*t);
x=x1+x2+3*randn(size(t));
figure(1);
subplot(121);
plot(tx);
xlabel(‘t‘);
ylabel(‘x‘);
tit
評(píng)論
共有 條評(píng)論