add white gaussian noise to signal
1 回表示 (過去 30 日間)
古いコメントを表示
the original siganl is right above iamge and left above image is my output, that's not my problem but the paper says "The Gauss white noise is added to the signal when signal to noise ratio is 5dB".
I try to build b prime image in the right bottom corner but my output is b image. I use " awgn(x,SNR) " with SNR=5, but output image is not like b prime image.
I know my output image shouldn't be exactly like b prime image because of randomness property of noise, but my b image is not like b prime image in terms of magnitude and appearence and ..., does anyone know why?

N=512; n=1:1:N;
y=4*cos(8.*pi*n./N)+(N/5);
x=cos(2*pi.*y.*(n/N));
subplot(2,1,1)
plot(n, x); axis([0 512 -1.5 1.5]); title('x')
xn= awgn(x,5);
subplot(2,1,2)
plot(n, xn); axis([0 512 -1.5 1.5]); title('x+white guass noise')
2 件のコメント
Mathieu NOE
2021 年 2 月 26 日
hello
I believe the b prime signal is not only a prime + noise but there is a gain factor between the two
are you sure that b prime = a prime x gain + noise with gain = 1 ?
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!