16-qam modulation
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a problem with 16qam modulation. I want to modulate with 16qam a binary signal and as I know 16-qam supposed to separate the signal into groups of 4 bits and maps them each one to a complex number. The problem is that I try to do this with 16 bits but I don't take 4 complex numbers but 16! I give you the code to understand better. Thank you and sorry for my English!
clear all
close all
clc
ip = [1 0 1 0 1 0 1 0]
%------ code ------%
trell = poly2trellis([7],[133 171])
coded = convenc(ip,trell)
%------ 16qam mode ------%
q = modem.qammod(16)
y = modulate (q,coded)
%------ 16qam demode ------%
z = modem.qamdemod(16)
x = demodulate (z,y)
%------ decode ------%
decoded = vitdec(x,trell,5,'trunc','hard')
0 comentarios
Respuesta aceptada
Hrasek
el 18 de Feb. de 2011
For modem.qammod must be decimal input. You have to use binary decimal converter on the input modem.qammod
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre QAM en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!