嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 1 元微信扫码支付:1 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
1、给定功率谱(相关函数)和概率分布,通过计算机模拟分析产生相应的随机过程。
2、通过该随即过程的实际功率谱(相关函数)和概率分布验证该实验的有效性。
随机信号分析与处理课后作业
w=normrnd(1,4,1,1024);
x(1)=w(1);
i=2;
while i<1025
x(i)=0.8*x(i-1) w(i);
i=i 1;
end
R=xcorr(x);
[S, W]=periodogram(x)
subplot(3, 1, 1);
plot(x);
title('x (n)'); axis tight;
subplot(3, 1, 2);
plot(R);
title('R(m)'); axis tight
subplot(3, 1, 3);
plot(S);
title('S(W)'); axis tight;
%%
N=256;
n=1:1:N;
w=randn(1,N);
f1=0.05;
f2=0.12;
x=sin(2*pi*f1*n) 2*cos(2*pi*f2*n) w(n);
R=xcorr(x);
[S, W]=periodogram(x)
subplot(3, 1, 1);
plot(x);
title('x (n) N=256'); axis tight;
subplot(3, 1, 2);
plot(R);
title('R(m) N=256'); axis tight
subplot(3, 1, 3);
plot(S);
title('S(W) N=256'); axis tight;
%%
N=1024;
n=1:1:N;
w=randn(1,N);
f1=0.05;
f2=0.12;
x=sin(2*pi*f1*n) 2*cos(2*pi*f2*n) w(n);
R=xcorr(x);
[S, W]=periodogram(x)
subplot(3, 1, 1);
plot(x);
title('x (n) N=1024'); axis tight;
subplot(3, 1, 2);
plot(R);
title('R(m) N=1024'); axis tight
subplot(3, 1, 3);
plot(S);
title('S(W) N=1024'); axis tight;