**3.1.2.4 Decoding data**

n=6; k=3; decodedata =vitdec(deintlvddata,trellis,5, 'trunc' ,'hard' ); % decoding datausing veterbi decoder rxed\_data=decodedata;
