Borrar filtros
Borrar filtros

How can i transmit a modulated signal through a AWGN channel which adds a zero mean gaussian real random number with variance s^2

1 visualización (últimos 30 días)
M = 4;
data=randi([0, M-1], 10000,1);
modData = pammod(data,M);
scatterplot(modData)
title('4-PAM');
snr=[0 2 4 6 8 10 12 15];
y=awgn(modData,snr);
scatterplot(y)
  2 comentarios
John BG
John BG el 26 de Mzo. de 2016
Simulink already has a block for AWGN channels where you can change the setting to your values of interest.
Vidya Viswanathan
Vidya Viswanathan el 29 de Mzo. de 2016
You could consider using "comm.AWGNChannel" System object. This provides you with a lot of options including one to specify the noise variance. Refer to the following documentation link for the same:
As pointed out by John, the same is available in Simulink as well. The following link describes the block corresponding to AWGN channel: http://www.mathworks.com/help/comm/ref/awgnchannel.html

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Propagation and Channel Models en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by