How to add 'AWGN' noise to a filtered data stream?
Mostrar comentarios más antiguos
I want to add Additive White Gaussian Noise (AWGN) to a filtered data stream. not sure how to include this in the code.
Respuestas (1)
Wayne King
el 28 de Mayo de 2012
Use randn(). Add a vector the same size to your filtered data.
Multiply the randn() vector by the standard deviation to give it a specified variance.
Ex:
%sqrt(2) is the standard deviation. Variance is 2
x = sqrt(2)*randn(1000,1);
Creates a WGN vector where the random variables follow a N(0,2) distribution.
Categorías
Más información sobre Propagation and Channel Models en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!