Puncturing in turbo coder

Status
Not open for further replies.

awatefawatef

Newbie level 2
Joined
May 14, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
svp
j'ai une problème :comment faire le puncturing dans turbo coder avec matlab.j'ai le code de turbo code seulemnt sans spuncturing mais j'arrive pas a le développer avec puncture :
len=4;
msg = randi([0 1], len, 1);% Random data
s = RandStream('mt19937ar', 'Seed', 11);
intrlvrIndices = randperm(s, len);

t = poly2trellis(4,[13 15 17], 13);
hTEnc = comm.TurboEncoder('TrellisStructure',t,'InterleaverIndices', intrlvrIndices, PuncturePattern);
code = step(hTEnc,msg);
hTDec = comm.TurboDecoder('TrellisStructure',t,'InterleaverIndices', intrlvrIndices,...
'NumIterations', 4);


decode = step( hTDec, code);
msge=msg'
codee=code'
decodee=decode'
jai besion urgent quelqu'un peut m'aider et merci d'avance
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…