基于自相关法检测噪声中周期性函数

版权声明:转载请注释 https://blog.csdn.net/xinshuwei/article/details/85235920

1.前提

认为噪声为加性噪声,噪声自相关在m=0时为固定值,m≠0时为0;

周期信号的自相关函数,仍是周期函数,并且周期和原函数周期相同

白噪声和周期信号完全不相关,白噪声的完全随机性导致它和任何函数都不相关恋。它们之间的互相关函数可认为是零

fs = 5e3;
n = 0:1/fs:1;
len = length(n);
freq = 100;
s = sin(2*pi*freq*n);
n = randn(1,len);
x = s + n;
rr = xcorr(x,'unbiased');
figure,subplot(121),plot(x);title('带噪声信号');
subplot(122),plot(rr);title('原始信号');

上面为matlab验证代码

猜你喜欢

转载自blog.csdn.net/xinshuwei/article/details/85235920
今日推荐