新号处理新学者 求助高手讲解下程序
sensitivity=1;i=1,%length(x)
sf=10000;
micone=a(:,i)/sensitivity;
% NN=length(miconetemp);
% w=window(@hann,NN);
% micone=miconetemp.*w;
%=========================direct fft add window================
nfft=1024*4;
Pref=7.2541e-10;
window=boxcar(length(micone)); % window
%window=triang(length(micone));
noverlap=0;
=cpsd(micone,micone,window,noverlap,nfft,sf);
index=0:round(nfft/2-1);
k=index*sf/nfft;
plot_Pxx1=10*log10(Pxx(index+1));
上面是原程序我想知道nfft 为什么设为1024X4??
=cpsd(micone,micone,window,noverlap,nfft,sf);这一行又是什么意思?
高手帮下 谢谢
页:
[1]