Problem in AWGN command

2 views (last 30 days)
Sadiq Akbar
Sadiq Akbar on 21 May 2021
Commented: Sadiq Akbar on 21 May 2021
I have two matrices A and xx.. The dimension of the matrix A is 9 x 3 complex double and that of xx is 3 x 500 complex double. The product of A and xx is X1 whose dimesnion is 9 x 500 complex double.
Now I want to generate a noise matrix of the same dimension i.e., 9 x 500 complex double using the command awgn() and add to X1. How can we generate this noise?

Accepted Answer

Image Analyst
Image Analyst on 21 May 2021
I'd use it twice. Once to apply to the real part, and again to apply to the imaginary part.
  3 Comments
Image Analyst
Image Analyst on 21 May 2021
Try it. I'd do
X = awgn(X1, 40) + 1i * awgn(X1, 40);
Sadiq Akbar
Sadiq Akbar on 21 May 2021
Thank you very much for your help.

Sign in to comment.

More Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!