function dec = conv_dec_ex(codeword)
fprintf('create generator polynomial \n');
trellis = poly2trellis([3], [5, 7])
fprintf('decoding \n');
dec = vitdec(codeword, trellis, 15, 'cont', 'hard')
