Add Gaussian Noise to a Signal

12 visualizaciones (últimos 30 días)
Luccas S.
Luccas S. el 15 de Feb. de 2022
Respondida: Voss el 15 de Feb. de 2022
I'm trying to add a 65 db Gaussian noise to a current signal. With the following function:
Ia = awgn(Ia,65)
The problem is that apparently the signal is not suffering any kind of noise.

Respuesta aceptada

Voss
Voss el 15 de Feb. de 2022
65 dB is a high enough SNR that you can't tell the difference visually between a signal with no noise and a signal with noise 65 dB down added to it:
SNR = 65;
t = linspace(0,20,10000);
Ia = sin(2*pi*1000*t);
Ia_noise = awgn(Ia,SNR);
figure
plot(t,Ia,'LineWidth',2);
hold on
plot(t,Ia_noise,':');
But if you drop SNR down (to around 35-40 or lower in this particular example), you can see the difference:
SNR = 35;
t = linspace(0,20,10000);
Ia = sin(2*pi*1000*t);
Ia_noise = awgn(Ia,SNR);
figure
plot(t,Ia,'LineWidth',2);
hold on
plot(t,Ia_noise,':');

Más respuestas (0)

Categorías

Más información sobre Propagation and Channel Models en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by