How to add AWGN noise using randn function?

2 views (last 30 days)
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)

Categories

Find more on Propagation and Channel Models in Help Center and File Exchange

Products


Release

R2014a

Community Treasure Hunt

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

Start Hunting!