我在用间接法计算PSD的时候为何,输出报错啊?。
이전 댓글 표시
我的代码如下:
Fs=100000;
xn=IVtSampling3PMOSVGS1;
nfft=1024;
cxn=xcorr(xn,'unbiased');
CXk=fft(cxn,nfft);
Pxx=abs(CXk);
index=0:round(nfft/2-1);
k=index*Fs/nfft;
plot_Pxx=10*log10(Pxx(index+1));
plot(k,Pxx);

채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 参数化频谱估计에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!