Problem in AWGN command

조회 수: 2 (최근 30일)
Sadiq Akbar
Sadiq Akbar 2021년 5월 21일
댓글: Sadiq Akbar 2021년 5월 21일
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?

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by