Rsc encoder matlab problem

Thread Starter

munna007

Joined Jul 23, 2008
51
HI FRIENDS,

i am designing RSC encoder i matlab. but output of matlab program is not matching with the theoretical output of encoder.

Matlab program :

data=[1 0 1 0 1 0 0 ]

trellis = poly2trellis(3,[5 7])

codedata = convenc(data,trellis)

output : 1 1 0 1 0 0 0 1 0 0 0 1 1 1

actual theoretical output : systematic o/p : 1 0 1 0 1 0 0
parity bits : 1 1 0 1 1 0 0
so correct o/p should be [1 1 0 1 1 0 0 1 1 1 0 0 0 0]

please tell me what is the problem....
i have attached diagram of my encoder.
 

Attachments

Top