MATLAB Answers

How to add AWGN noise using randn function?

1 view (last 30 days)
Afaq Ahmad
Afaq Ahmad on 13 Jan 2021
I have a discrete time signal which I generated as follows:
I wish to add AWGN noise using randn() function with mean=0 and variance=0, 0.1, 0.5, 1, 1.5 and 3.
The code i have written is:
How can I modify my function to add the noise and later on, demodulate it back into a matrix (as shown in 'w' array)?

Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by