Borrar filtros
Borrar filtros

Adding noise vector in Matlab

6 visualizaciones (últimos 30 días)
zephr nine
zephr nine el 3 de Abr. de 2015
Comentada: Star Strider el 3 de Abr. de 2015
Can anyone tell how to add mutually uncorrelated local channel noise vector and global channel noise vector in MATLAB coding?
Noise vectors n ∼ N(0,Rn) and w ∼ N(0,Rw)

Respuesta aceptada

Star Strider
Star Strider el 3 de Abr. de 2015
The Communication System Toolbox has the awgn function. Otherwise, I would use the randn function.
So for example you would define:
n = Rn*randn
w = Rw*randn
with the appropriate ‘size’ arguments to match your vectors.
  3 comentarios
Star Strider
Star Strider el 3 de Abr. de 2015
My pleasure!
In my example, ‘Rn’ and ‘Rw’ are the standard deviations. If you define them instead to be variances, my example changes to:
n = sqrt(Rn)*randn
w = sqrt(Rw)*randn
in order to be consistent with the documentation for randn.
Star Strider
Star Strider el 3 de Abr. de 2015
I cannot help you with that, unfortunately. Communications engineering is not an area of my expertise.
I suggest you post that as a new Question, as it is not directly related to this one.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Transmitters and Receivers en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by