The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Convoultional Coding/Decoding with Matlab Functions
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 3
Registered: 10/13/11
Convoultional Coding/Decoding with Matlab Functions
Posted: Dec 3, 2012 3:57 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'm trying to perform convolutional coding/decoding using built in Matlab functions. I'm trying to implement (2,1,3) code.

msg=[1 1 0 0 1 0];
trel=poly2trellis(K,[G1 G2]);

coded=[1 1 0 1 0 1 1 1 1 1 1 0]
decoded=[0 0 0 0 0 0]

As you would expect, the decoded message should be the same as msg, which it is not. I don't see where I have gone wrong in this simple example.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.