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?

 Respuesta aceptada

Image Analyst
Image Analyst el 21 de Mayo de 2021

0 votos

I'd use it twice. Once to apply to the real part, and again to apply to the imaginary part.

3 comentarios

Sadiq Akbar
Sadiq Akbar el 21 de Mayo de 2021
Thank you very much for your kind response. You mean like this:
A; % 9 x 3 complex double
xx; % 3 x 500 complex double
X1 = A * xx; % 9 x 500 complex double
X=awgn(X1,40)+j*awgn(X1,40);
Image Analyst
Image Analyst el 21 de Mayo de 2021
Try it. I'd do
X = awgn(X1, 40) + 1i * awgn(X1, 40);
Sadiq Akbar
Sadiq Akbar el 21 de Mayo de 2021
Thank you very much for your help.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 21 de Mayo de 2021

Comentada:

el 21 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by