Modulation QAM sans bruit sur matlab?

Résolu/Fermé
poste22 Messages postés 14 Date d'inscription lundi 20 octobre 2008 Statut Membre Dernière intervention 16 mars 2015 - 20 févr. 2009 à 15:14
 chahrazed1991 - 11 févr. 2013 à 13:10
Bonjour,
je cherche comment faire une modulation QAM sans bruit
avec bruit c'est simple je fais copier coller de help sur matlab
voila le programme :
% Create a random digital message
M = 16; % Alphabet size
x = randint(5000,1,M);

% Use 16-QAM modulation to produce y.
y=modulate(modem.qammod(M),x);

% Transmit signal through an AWGN channel.
ynoisy = awgn(y,15,'measured');

% Create scatter plot from noisy data.
scatterplot(ynoisy);

% Demodulate ynoisy to recover the message.
z=demodulate(modem.qamdemod(M),ynoisy);

% Check symbol error rate.
[num,rt]= symerr(x,z)


merci d'avance !!!

2 réponses

poste22 Messages postés 14 Date d'inscription lundi 20 octobre 2008 Statut Membre Dernière intervention 16 mars 2015 5
20 févr. 2009 à 15:35
bonjour
problème résolu !!!
% Create a random digital message
M = 16; % Alphabet size
x = randint(5000,1,M);

% Use 16-QAM modulation to produce y.
y=modulate(modem.qammod(M),x);

% Transmit signal through an AWGN channel.
%ynoisy = awgn(y,15,'measured');

% Create scatter plot from noisy data.
scatterplot(y);

% Demodulate ynoisy to recover the message.
z=demodulate(modem.qamdemod(M),(y));

% Check symbol error rate.
[num,rt]= symerr(x,z)
5
comment vous avez écrit x = randint(5000,1,M); ??? pourquoi 5000??? merci d'avance
0