資源簡介
matlab fft變換,使用簡單,沒有什么好說明的,但官方必須要我湊字五十個字
代碼片段和文件信息
fs=1024;%采樣頻率
N=10240;%采樣點數量
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
- 上一篇:基于matlab的隨機過程仿真
- 下一篇:粒子濾波代碼與卡爾曼做比較
評論
共有 條評論