窗长,DFT点数对dft影响

%x(t)=cos(2pi#f1t)+cos(2pif2t).f1=100HZ,f2=120HZ,fsam=600HZ. clc; clear all; N=1024; fs=600; f1=100;f2=120; t=(0:N-1)/fs;%t处出错了,应该用【0:N-1】乘取样间隔而不是(0:N-1)fs/N,这是频域表示 x=cos(2pif1t)+cos(2pif2t); Xm=fftsh
相关文章
相关标签/搜索