欢迎来到天天文库
浏览记录
ID:38722873
大小:38.00 KB
页数:4页
时间:2019-06-18
《修正的周期图法》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、(2)、修正的周期图法1、N=256,M=322、N=256,M=1283、N=512,M=128程序:1.functionPer1N=256;fs=100000;f=0.02;n=1:N;s(n)=sin(2pifn);x=awgn(s,10);window1=hamming(32);overlap=10;[Pxx1,f1]=psd(x,N,fs,window1,overlap);log_Pxx1=10log10(Pxx1);n1=0:round(N/2-1);f1=n1fs/N;plot(f1,log_P
2、xx1(n1+1));title('改进的谱估计N=256,M=32');2.functionPer2N=256;fs=100000;f=0.02;n=1:N;s(n)=sin(2pifn);x=awgn(s,10);window1=hamming(128);overlap=10;[Pxx1,f1]=psd(x,N,fs,window1,overlap);log_Pxx1=10log10(Pxx1);n1=0:round(N/2-1);f1=n1fs/N;plot(f1,log_Pxx1(n1+1));tit
3、le('改进的谱估计N=256,M=128');3.functionPer3N=512;fs=100000;f=0.02;n=1:N;s(n)=sin(2pifn);x=awgn(s,10);window1=hamming(128);overlap=10;[Pxx1,f1]=psd(x,N,fs,window1,overlap);log_Pxx1=10log10(Pxx1);n1=0:round(N/2-1);f1=n1fs/N;plot(f1,log_Pxx1(n1+1));title('改进的谱估计N=5
4、12,M=128');
此文档下载收益归作者所有