sample_num=10240;
fs = 1024;
t=(0:sample_num-1)/fs;
doppler=100/sample_num;
i=(0:sample_num-1);
data = exp(1j*2*pi*doppler*i.*t);
fft_len=1024;
overlap=0;
win=hamming(fft_len);
figure;
spectrogram(data,win,overlap,fft_len,fs,'centered','psd');
理论上应该只会偏到 100Hz 呀,为什么偏到 200Hz 了呢?